The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A097456 Integer part of the ratio (number of composites <=n) / (number of primes <=n). 1
 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2 (list; graph; refs; listen; history; text; internal format)
 OFFSET 2,26 LINKS FORMULA pi(n) = number of primes <= n. Ratio = (n - pi(n))/pi(n) = n/pi(n) - 1. Output floor(Ratio) PROG (PARI) compsp1(n) = { for(x=2, n, y=floor(x/pi(x)-1); print1(y", ") ) } CROSSREFS Sequence in context: A270643 A270647 A261126 * A164002 A322156 A332278 Adjacent sequences:  A097453 A097454 A097455 * A097457 A097458 A097459 KEYWORD nonn AUTHOR Cino Hilliard, Aug 23 2004 STATUS approved

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

Last modified September 23 04:38 EDT 2021. Contains 347609 sequences. (Running on oeis4.)