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!)
A164738 Triangle read by rows. Row 0 = {2}; left half of row n+1 = row n, right half = row n reversed with each term replaced by the next prime. 3
2, 2, 3, 2, 3, 5, 3, 2, 3, 5, 3, 5, 7, 5, 3, 2, 3, 5, 3, 5, 7, 5, 3, 5, 7, 11, 7, 5, 7, 5, 3, 2, 3, 5, 3, 5, 7, 5, 3, 5, 7, 11, 7, 5, 7, 5, 3, 5, 7, 11, 7, 11, 13, 11, 7, 5, 7, 11, 7, 5, 7, 5, 3, 2, 3, 5, 3, 5, 7, 5, 3, 5, 7, 11, 7, 5, 7, 5, 3, 5, 7, 11, 7, 11, 13, 11, 7, 5, 7, 11, 7, 5, 7, 5, 3, 5, 7, 11, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Row n has 2^n terms.
Row sums = (2, 5, 13, 33, 83, 205, 495,...) = A007443, the binomial transform of the primes.
LINKS
EXAMPLE
The triangle begins:
2;
2, 3;
2, 3, 5, 3;
2, 3, 5, 3, 5, 7, 5, 3;
2, 3, 5, 3, 5, 7, 5, 3, 5, 7, 11, 7, 5, 7, 5, 3;
...
MATHEMATICA
Flatten[NestList[Join[ #, NextPrime[Reverse[ # ]]] &, {2}, 7]] (* Zak Seidov, Aug 24 2009 *)
CROSSREFS
Sequence in context: A169614 A037126 A080092 * A126225 A306997 A056160
KEYWORD
nonn,tabf
AUTHOR
Gary W. Adamson, Aug 23 2009
EXTENSIONS
More terms from Zak Seidov, Aug 24 2009
Edited by Zak Seidov and N. J. A. Sloane, Aug 25 2009
Offset 0 from Alois P. Heinz, Oct 31 2023
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 April 24 15:57 EDT 2024. Contains 371961 sequences. (Running on oeis4.)