login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A353612 Triangle read by rows: T(n,k) = (n + k) if (n + k) is a prime number, otherwise T(n,k) = 0; n >= 1, k >= 1. 1
2, 3, 0, 0, 5, 0, 5, 0, 7, 0, 0, 7, 0, 0, 0, 7, 0, 0, 0, 11, 0, 0, 0, 0, 11, 0, 13, 0, 0, 0, 11, 0, 13, 0, 0, 0, 0, 11, 0, 13, 0, 0, 0, 17, 0, 11, 0, 13, 0, 0, 0, 17, 0, 19, 0, 0, 13, 0, 0, 0, 17, 0, 19, 0, 0, 0, 13, 0, 0, 0, 17, 0, 19, 0, 0, 0, 23, 0 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Row sums see A341700.
LINKS
EXAMPLE
The triangle begins:
k=1 2 3 4 5 6
n=1: 2;
n=2: 3, 0;
n=3: 0, 5, 0;
n=4: 5, 0, 7, 0;
n=5: 0, 7, 0, 0, 0;
n=6: 7, 0, 0, 0, 11, 0;
and so on.
MATHEMATICA
T[n_, k_] := If[PrimeQ[n + k], n + k, 0]; Table[T[n, k], {n, 1, 12}, {k, 1, n}] // Flatten (* Amiram Eldar, Jul 21 2022 *)
CROSSREFS
Sequence in context: A338780 A213714 A242011 * A368243 A259657 A332672
KEYWORD
nonn,tabl
AUTHOR
Ctibor O. Zizka, Jul 21 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 10 09:28 EDT 2024. Contains 372377 sequences. (Running on oeis4.)