The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 18 09:54 EDT 2024. Contains 372620 sequences. (Running on oeis4.)