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

A220851
a(n+1) is equal to a(n) plus the number of primes between a(n) and 2*a(n) exclusively.
2
2, 3, 4, 6, 8, 10, 14, 17, 21, 26, 32, 39, 48, 57, 71, 85, 101, 121, 144, 171, 200, 232, 272, 314, 363, 419, 483, 553, 637, 727, 829, 944, 1073, 1217, 1378, 1560, 1758, 1975, 2225, 2498, 2799, 3130, 3498, 3909, 4357, 4848, 5394, 5996, 6651, 7374, 8163
OFFSET
1,1
LINKS
EXAMPLE
a(6) = the number of primes between a(5) and 2*a(5) plus a(5) = the number of primes ]8, 16[ + 8 = 2 + 8 = 10.
MATHEMATICA
f[n_] := PrimePi[2n - 1] - PrimePi[n]; NestList[# + f@# &, 2, 50]
CROSSREFS
Cf. A060715, A220850, inspired by A084140.
Sequence in context: A337046 A341031 A243225 * A028290 A003107 A217123
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Dec 22 2012
STATUS
approved