[go: up one dir, main page]

login
A259311
First differences of A098058.
0
1, 2, 6, 6, 6, 6, 2, 10, 6, 6, 6, 2, 10, 2, 10, 18, 6, 6, 18, 6, 2, 10, 2, 6, 10, 6, 6, 2, 10, 6, 30, 6, 6, 2, 10, 6, 6, 6, 2, 10, 2, 10, 18, 6, 14, 6, 10, 6, 14, 6, 10, 26, 10, 2, 10, 2, 10, 18, 42, 18, 2, 18, 6, 10, 6, 6, 2, 6, 10, 6, 6, 2, 6, 10
OFFSET
1,2
COMMENTS
No term is divisible by 4, see comments in A098058.
FORMULA
a(n) = A098058(n+1)-A098058(n).
PROG
(PARI) lista(n) = for(x=1, n, z=(prime(x+1)-prime(x)); if(z%4, print1(z, ", "))) \\ Michel Marcus, Jun 24 2015
CROSSREFS
Cf. A098058.
Sequence in context: A284121 A198102 A097466 * A141624 A134413 A134201
KEYWORD
nonn
AUTHOR
Zak Seidov, Jun 24 2015
STATUS
approved