login
A205151
a(n) = A205150(n)/n.
3
9, 10, 3, 5, 4, 7, 6, 16, 1, 2, 6, 9, 6, 3, 12, 8, 6, 6, 6, 1, 2, 3, 10, 6, 34, 3, 4, 11, 1, 6, 2, 4, 2, 3, 71, 3, 10, 3, 2, 9, 6, 1, 5, 7, 4, 5, 19, 3, 6, 17, 2, 17, 12, 2, 36, 11, 2, 4, 10, 3, 50, 1, 12, 2, 31, 1, 6, 13, 74, 23, 1, 2, 50, 5, 24, 23, 4, 1, 8
OFFSET
1,1
COMMENTS
For a guide to related sequences, see A204892.
LINKS
MATHEMATICA
(See the program at A205146.)
PROG
(PARI) s(m) = prime(m)*prime(m+1);
isok(k, n) = my(sk=s(k)); for (j=1, k-1, if (!Mod(sk-s(j), n), return (j)));
a(n) = my(k=1, x); while (!(j=isok(k, n)), k++); (s(k) - s(j))/n; \\ Michel Marcus, Jul 23 2021
CROSSREFS
Sequence in context: A034058 A347181 A333774 * A167691 A107434 A334681
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jan 25 2012
EXTENSIONS
More terms from Michel Marcus, Jul 23 2021
STATUS
approved