OFFSET
1,1
COMMENTS
An entropy power of white noise function with N=1/log(n).
Function is based on asymptotic form of distribution: PrimePi[n]--> n/log(n) Function misses the first three primes {2,3,5}, but is pretty good after that.
It is easy to see due to the slow growth of the function that the sequence is precisely the primes greater than 5. [Charles R Greathouse IV, Aug 21 2011]
REFERENCES
C. E. Shannon, The Mathematical Theory of Communication, page 93
MATHEMATICA
digits=5*200 f[n_]=Floor[2*Pi*n/(E*Log[n])] a=Delete[Union[Table[If [PrimeQ[f[n]]==True, f[n], 0], {n, 2, digits}]], 1]
PROG
(PARI) a(n)=prime(n+3) \\ Charles R Greathouse IV, Aug 21 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Jan 31 2004
STATUS
approved