login
A111739
Distance between k*(n-th prime) and next prime, k=7 case.
8
3, 2, 2, 4, 2, 6, 8, 4, 2, 8, 6, 4, 6, 6, 2, 2, 6, 4, 10, 2, 10, 4, 6, 8, 4, 2, 6, 2, 6, 6, 18, 2, 8, 4, 6, 4, 4, 10, 2, 2, 6, 10, 24, 10, 2, 6, 4, 6, 8, 4, 6, 20, 6, 2, 2, 6, 6, 4, 10, 6, 6, 2, 4, 2, 12, 2, 16, 12, 8, 4, 2, 8, 10, 6, 4, 2, 6, 10, 12, 16, 6, 6, 2, 6, 6, 8, 20, 4, 2, 10, 2, 6, 4, 12, 6, 6, 8
OFFSET
1,1
COMMENTS
Other cases: k=1 A001223 Differences between consecutive primes, k=2 A059787, k=3 A114245, k=4 A114246, k=5 A114247, k=6 A114248, k=8 A111740, k=9 A111741, k=10 A111742.
LINKS
EXAMPLE
a(1)=3 because prime(1)=2 and 7*2+1=17 (prime).
MATHEMATICA
dnp[n_]:=Module[{c=7*Prime[n]}, NextPrime[c]-c]; Array[dnp, 100] (* Harvey P. Dale, Jan 14 2022 *)
KEYWORD
nonn
AUTHOR
Zak Seidov, Nov 18 2005
STATUS
approved