OFFSET
0,2
COMMENTS
Also, the order number of 10^n as a composite number.
LINKS
Amiram Eldar, Table of n, a(n) for n = 0..29 (calculated using the b-file at A006880)
FORMULA
a(n) = 10^n - 1 - A006880(n). - Max Alekseyev, Aug 15 2013
For n>0, a(n) = A092871(n) + 1.
EXAMPLE
10 is the 5th composite number: 4, 6, 8, 9, 10.
MATHEMATICA
Table[ 10^n- (PrimePi[10^n]) -1, {n, 1, 13} ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Nov 28 2001
EXTENSIONS
More terms from Robert G. Wilson v, Nov 29 2001
Formula and more terms from Max Alekseyev, Aug 15 2013
STATUS
approved