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!)
A048402 Primes with consecutive digits that differ exactly by 5. 7
2, 3, 5, 7, 61, 83, 383, 727, 72727, 94949, 1616161, 383838383, 727272727, 383838383838383, 38383838383838383, 72727272727272727, 94949494949494949, 383838383838383838383 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Module[{nn=50, w1, w2}, w1=Flatten[Table[Select[FromDigits/@Table[ PadRight[ {}, n, {a, a+5}], {n, 2, nn}], PrimeQ], {a, 4}]]; w2=Flatten[Table[Select[ FromDigits/@ Table[PadRight[{}, n, {a+5, a}], {n, 2, nn}], PrimeQ], {a, 4}]]; Join[ {2, 3, 5, 7}, w1, w2]//Union] (* Harvey P. Dale, Jan 09 2021 *)
CROSSREFS
Sequence in context: A244595 A244597 A237439 * A237440 A237441 A171029
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 23 02:53 EDT 2024. Contains 371906 sequences. (Running on oeis4.)