A327277 Irregular triangle read by rows in which row n lists the first prime(n) primes.
2, 3, 2, 3, 5, 2, 3, 5, 7, 11, 2, 3, 5, 7, 11, 13, 17, 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67
Offset: 1
Examples
Table begins: 2, 3; 2, 3, 5; 2, 3, 5, 7, 11; 2, 3, 5, 7, 11, 13, 17; 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31; 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41; ...
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
m = 8; p = Array[Prime, Prime[m]]; Join @@ (p[[1 ;; p[[#]]]] & /@ Range[m]) (* Amiram Eldar, Sep 24 2019 *) Table[Take[Prime[Range[Prime[n]]],n],{n,Prime[Range[10]]}]//Flatten (* Harvey P. Dale, Oct 30 2021 *)