OFFSET
2,1
COMMENTS
Conjecture: The number of terms in this sequence is infinite.
EXAMPLE
The last digits of the consecutive prime pair 29 and 31 differ by 8 so 29 is in the table.
MATHEMATICA
Transpose[Select[Partition[Prime[Range[500]], 2, 1], Abs[Mod[First[#], 10]-Mod[Last[#], 10]]==8&]][[1]] (* Harvey P. Dale, Nov 06 2012 *)
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,less
AUTHOR
Cino Hilliard, May 19 2007
STATUS
approved