A177343 Number of times the n-th prime occurs in A039654.
1, 1, 1, 1, 3, 1, 2, 1, 4, 1, 2, 1, 3, 1, 4, 2, 4, 1, 1, 12, 1, 2, 3, 3, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 1, 3, 1, 1, 25, 1, 4, 2, 10, 1, 1, 1, 1, 3, 5, 1, 4, 10, 1, 7, 1, 8, 3, 2, 1, 1, 1, 4, 2, 5, 1, 1, 1, 1, 1, 1, 1, 18, 1, 1, 1, 10, 2, 1, 1, 1, 6, 1, 16, 4, 2, 2, 3, 1, 1, 1, 3, 11, 1, 2, 1, 18, 1, 2, 1, 1, 1, 3
Offset: 1
Keywords
Links
- Franklin T. Adams-Watters, Table of n, a(n) for n=1..1229 (primes through 10000)
Programs
-
PARI
a(n)=sum(k=2,n=prime(n),A039654(k)==n) \\ M. F. Hasler, Sep 25 2017
Formula
a(n) = 1 + # { k < prime(n) | A039654(k) = prime(n) } . - M. F. Hasler, Sep 25 2017
Comments