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

A072916
Number of m such that floor(prime(m)/m) = n.
0
3, 8, 19, 41, 117, 254, 616, 1642, 3766, 9461, 24183, 60252, 151368, 385600, 979844, 2507393, 6428977, 16513542, 42642649, 110283280, 285776799, 742428731, 1932223170, 5038580446, 13159683245, 34423463648, 90173540312
OFFSET
1,1
EXAMPLE
Only m = 2,3,4 give [p(m)/m] = 1, so a(1) = 3.
There are 8 values of m giving floor(prime(m)/m) = 2, namely m = 1,5,6,7,8,9,10,11, so a(2) = 8.
MATHEMATICA
a(n_) := Length[Cases[Table[Floor[Prime[m]/m], {m, 1, 1000000}], n]]
CROSSREFS
Sequence in context: A089924 A293947 A178457 * A298406 A074839 A262156
KEYWORD
nonn
AUTHOR
Zak Seidov Aug 11 2002
EXTENSIONS
a(16)-a(27) from Farideh Firoozbakht, Sep 13 2005
Typo corrected by David W. Wilson, Oct 22 2005
STATUS
approved