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

A091265
Take sequence of prime numbers (A000040) and reverse successive subsequences of lengths 1,2,3,4,...
1
2, 5, 3, 13, 11, 7, 29, 23, 19, 17, 47, 43, 41, 37, 31, 73, 71, 67, 61, 59, 53, 107, 103, 101, 97, 89, 83, 79, 151, 149, 139, 137, 131, 127, 113, 109, 197, 193, 191, 181, 179, 173, 167, 163, 157, 257, 251, 241, 239, 233, 229, 227, 223, 211, 199, 317, 313, 311, 307
OFFSET
1,1
LINKS
FORMULA
a(n) = A000040(A038722(n)). - M. F. Hasler, Aug 24 2014
MAPLE
S:= ListTools:-PartialSums([$1..20]):
P:= [seq(ithprime(i), i=1..S[-1])]:
map(op, [[P[1]], seq(ListTools:-Reverse(P[S[i]+1..S[i+1]]), i=1..nops(S)-1)]); # Robert Israel, Sep 04 2017
CROSSREFS
Sequence in context: A242171 A254790 A353717 * A262373 A028415 A211306
KEYWORD
easy,nonn
AUTHOR
Felix Tubiana, Feb 23 2004
EXTENSIONS
Offset changed from 0 to 1 by M. F. Hasler, Aug 24 2014
STATUS
approved