|
|
A129809
|
|
Lesser of consecutive prime pairs whose last digits differ by 2.
|
|
1
|
|
|
3, 5, 11, 17, 41, 71, 89, 101, 107, 137, 191, 197, 211, 227, 281, 311, 347, 359, 389, 431, 449, 461, 467, 479, 521, 523, 617, 641, 661, 683, 719, 743, 797, 821, 827, 857, 881, 929, 983, 997
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Conjecture: The number of terms in this sequence is infinite.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
The last digits of the consecutive prime pair 89 and 97 differ by 2 so 89 is in the table.
|
|
MATHEMATICA
|
Select[Partition[Prime[Range[200]], 2, 1], Abs[Mod[#[[1]], 10]-Mod[#[[2]], 10]] == 2&][[All, 1]] (* Harvey P. Dale, Sep 14 2018 *)
|
|
PROG
|
(PARI) \d can be 2, 4, 6, 8 primediffd(n, d) = { forprime(x=3, n, y=abs((nextprime(x+1)%10-x%10)); if(y==d, print1(x", ") ) ) }
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|