login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A048413 Primes whose consecutive digits differ by 1 or 2. 8
2, 3, 5, 7, 13, 23, 31, 43, 53, 67, 79, 89, 97, 101, 131, 313, 353, 421, 431, 457, 467, 643, 653, 757, 787, 797, 1013, 1021, 1201, 1213, 1231, 1321, 2131, 2357, 2423, 2467, 3121, 3457, 3467, 4201, 4231, 4243, 4357, 4567, 4643, 4657, 4679, 5323, 5431, 5653 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
cdQ[n_]:=Module[{idnd=Abs[Differences[IntegerDigits[n]]]}, Max[idnd]<3 && Min[idnd]>0]; Select[Prime[Range[800]], cdQ] (* Harvey P. Dale, Sep 29 2012 *)
CROSSREFS
Sequence in context: A322475 A181526 A163487 * A064336 A179921 A211073
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Apr 15 1999
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 03:08 EDT 2024. Contains 371918 sequences. (Running on oeis4.)