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

A089657
Let g[n]=Floor[Prime[n]-n)/((n-PrimePi[n])], then a(n) = Floor[(Prime[n]+g[n]*PrimePi[n])/(1+g[n]).
0
1, 2, 3, 4, 5, 6, 7, 9, 10, 10, 11, 13, 13, 15, 16, 17, 17, 20, 19, 20, 21, 22, 23, 25, 26, 27, 27, 28, 29, 30, 34, 35, 36, 36, 38, 39, 41, 42, 43, 44, 46, 46, 43, 49, 50, 51, 47, 49, 50, 50, 51, 52, 53, 55, 56, 57, 58, 58, 60, 61, 62, 63, 66, 66, 67, 67, 71, 72, 73, 74, 75, 76
OFFSET
1,2
MATHEMATICA
g[n_] = Floor[(Prime[n] - n)/(n - PrimePi[n])];
a = Table[Floor[(Prime[n] + g[n]*PrimePi[n])/(1 + g[n])], {n, 1, 200}]
CROSSREFS
Sequence in context: A083047 A191737 A161659 * A224247 A004727 A102352
KEYWORD
nonn,less
AUTHOR
Roger L. Bagula, Jan 04 2004
EXTENSIONS
Edited by N. J. A. Sloane, Apr 28 2006
STATUS
approved