A138117 Triangle read by rows: row n lists the first 2n-1 prime numbers.
2, 2, 3, 5, 2, 3, 5, 7, 11, 2, 3, 5, 7, 11, 13, 17, 2, 3, 5, 7, 11, 13, 17, 19, 23, 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
Offset: 1
Examples
Triangle begins: ....... 2 ..... 2,3,5 ... 2,3,5,7,11 . 2,3,5,7,11,13,17
Programs
-
Mathematica
nn=10;Flatten[Table[Take[Prime[Range[2nn+1]],2n+1],{n,0,nn}]] (* Harvey P. Dale, Aug 16 2011 *)