OFFSET
1,1
EXAMPLE
a(1) = 5 because there are 5 numbers below 10^1 {1, 3, 5, 7, 9} not divisible by prime(1) = 2.
MAPLE
for n from 1 to 20 do:ni:=0:for m from 1 to 10^n -1 do:i:=0:for q from 1 to n do:p:=ithprime(q):if irem(m, p)=0 then i:=1:else fi:od:if i=0 then ni:=ni+1:else fi:od: printf ( "%d %d \n", n, ni):od:
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Aug 20 2012
STATUS
approved