login
A129753
Floor(prime(n)/nonprime(n)).
0
2, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3
OFFSET
1,1
FORMULA
a(n) = floor(A000040(n)/A018252(n)).
a(n) ~ log(n).
EXAMPLE
a(1) = [2/1] = 2.
a(2) = [3/4] = [0.75] = 0.
a(5) = [11/9] = [1.22222222] = 1.
a(16) = [53/25] = [2.12] = 2.
a(37) = [157/52] = [3.01923077] = 3.
MATHEMATICA
nn=100; Module[{prs=Prime[Range[nn]], non}, non=Take[Complement[ Range[ Last[ prs]], prs], nn]; Floor[#[[1]]/#[[2]]]&/@Thread[{prs, non}]] (* Harvey P. Dale, Aug 29 2012 *)
CROSSREFS
Sequence in context: A269247 A330268 A089310 * A356324 A307247 A147693
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Jun 02 2007
STATUS
approved