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”).

A136109
a(1) = 1. After the initial 1, follow with runs of integers; the n-th run of p(a(n)) terms is (1,2,3,4,....,p(a(n))), where p(m) is the m-th prime.
1
1, 1, 2, 1, 2, 1, 2, 3, 1, 2, 1, 2, 3, 1, 2, 1, 2, 3, 1, 2, 3, 4, 5, 1, 2, 1, 2, 3, 1, 2, 1, 2, 3, 1, 2, 3, 4, 5, 1, 2, 1, 2, 3, 1, 2, 1, 2, 3, 1, 2, 3, 4, 5, 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, 1, 2, 3, 1, 2, 1, 2, 3, 1, 2, 3, 4, 5, 1, 2, 1, 2, 3, 1, 2, 1
OFFSET
1,3
EXAMPLE
Runs of integers bracketed by parentheses. (Note that n-th run {after the initial 1} has exactly p(a(n)) terms.)
1,(1,2),(1,2),(1,2,3),(1,2),(1,2,3),(1,2),(1,2,3),(1,2,3,4,5),(1,2),(1,2,3),(1,2),(1,2,3),(1,2,3,4,5),(1,2),(1,2,3),(1,2),(1,2,3),(1,2,3,4,5),(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),...
CROSSREFS
Sequence in context: A270808 A290532 A080237 * A105265 A351468 A193360
KEYWORD
nonn
AUTHOR
Leroy Quet, Mar 15 2008
STATUS
approved