login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A037125
Irregular triangle: row n is 1, 2, 3, 4, .., prime(n).
0
1, 2, 1, 2, 3, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 6, 7, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 1, 2, 3, 4, 5, 6, 7, 8, 9
OFFSET
1,2
EXAMPLE
From Omar E. Pol, May 29 2012: (Start)
Written as an irregular triangle the sequence begins:
1, 2;
1, 2, 3;
1, 2, 3, 4, 5;
1, 2, 3, 4, 5, 6, 7;
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11;
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13;
Row n has length A000040(n). (End)
MATHEMATICA
Flatten@Range@Prime@Range[9] (* Arkadiusz Wesolowski, Jul 02 2012 *)
CROSSREFS
Cf. A002260.
Sequence in context: A194844 A138528 A364604 * A194055 A194029 A162192
KEYWORD
nonn,easy,tabf
AUTHOR
Vasiliy Danilov (danilovv(AT)usa.net), Jun 15 1998
STATUS
approved