[go: up one dir, main page]

login
A248005
Number of primes obtained in the first step of the long division of prime(n) by prime(i), i=2,...,n-1 (see example).
1
1, 1, 1, 2, 3, 2, 3, 3, 3, 5, 4, 4, 5, 4, 5, 4, 4, 5, 7, 7, 4, 7, 7, 5, 6, 6, 7, 9, 7, 8, 9, 7, 8, 8, 9, 10, 5, 7, 8, 11, 9, 13, 10, 10, 7, 9, 8, 12, 11, 12, 10, 12, 12, 12, 10, 10, 14, 12, 11, 12, 13, 10, 12, 10, 13, 15, 13, 11, 12, 12, 15, 17, 12, 13, 13, 16
OFFSET
3,4
LINKS
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
Sequence in context: A357610 A102351 A078173 * A129759 A137467 A261461
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Sep 29 2014
EXTENSIONS
More terms from Peter J. C. Moses, Oct 12 2014
STATUS
approved