OFFSET
1,1
COMMENTS
A sequence based on the ratios of distributions of primes and composite numbers.
By adding one to the distribution of primes function an initial n=1 singularity is avoided.
FORMULA
Asymptotically, a(n) ~ prime(n)*n/pi(n). - M. F. Hasler, Apr 06 2009
r[n_]=(1+PrimePi[n])/(n-PrimePi[n]) a(n) = Floor[(1/r[n])*Prime[n]]
MATHEMATICA
d=237 r[n_]=(1+PrimePi[n])/(n-PrimePi[n]) aa=Table[Floor[(1/r[n])*Prime[n]], {n, 1, d}]
PROG
(PARI) A090668(n)=prime(n)*(n-primepi(n))\(primepi(n)+1) \\ M. F. Hasler, Apr 06 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Dec 16 2003
EXTENSIONS
Edited by M. F. Hasler, Apr 07 2009
STATUS
approved