login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A066893
Numbers k such that k divides (prime(3*k) - prime(2*k)).
1
1, 2, 6, 21, 25, 32, 174, 400, 918, 960, 971, 987, 2374, 5928, 5935, 5942, 5977, 14838, 37259, 37282, 94154, 238309, 1556445, 4004112, 10308825, 10308837, 10309843, 10309906, 26627152, 68912912, 68913663, 68913687, 68914102, 68915077, 68915098, 68916054
OFFSET
1,2
LINKS
MATHEMATICA
Select[Range[10^6], Mod[Prime[3 #] - Prime[2 #], #] == 0 &]
PROG
(PARI) isok(k) = { (prime(3*k)-prime(2*k)) % k == 0 } \\ Harry J. Smith, Apr 05 2010
CROSSREFS
Sequence in context: A242819 A126099 A063753 * A004192 A104143 A088812
KEYWORD
nonn,changed
AUTHOR
Benoit Cloitre, Jan 24 2002
EXTENSIONS
More terms from Robert G. Wilson v, Jan 26 2002
a(23) from Harry J. Smith, Apr 05 2010
a(24)-a(36) from Giovanni Resta, Jun 18 2018
STATUS
approved