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”).

A048417
Primes whose consecutive digits differ by 5 or 6.
1
2, 3, 5, 7, 17, 61, 71, 83, 271, 283, 383, 617, 727, 827, 839, 7283, 16061, 27271, 27283, 28283, 28393, 38393, 39383, 49393, 60617, 61717, 72727, 82727, 83939, 93827, 93949, 94949, 161717, 171617, 172717, 272717, 282827, 283949, 382727
OFFSET
1,1
LINKS
MATHEMATICA
cd56Q[n_]:=Module[{d=Abs[Differences[IntegerDigits[n]]]}, Max[d]<7 && Min[ d]>4]; Select[Prime[Range[33000]], cd56Q] (* Harvey P. Dale, Oct 02 2012 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Apr 15 1999
STATUS
approved