OFFSET
3,4
LINKS
Peter J. C. Moses, Table of n, a(n) for n = 3..1002
EXAMPLE
Let n=16, prime(16)=53. Consider the first step of the long division of 53 by 3:
53
-3
23
Since 23 is prime, then 3 contributes 1 into a(16); also in the first step of the long division of 53 by 5,17,23 (and only by them) we obtain primes (3,2,7). So a(16)=4.
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Sep 29 2014
EXTENSIONS
More terms from Peter J. C. Moses, Oct 12 2014
STATUS
approved