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!)
A048416 Primes whose consecutive digits differ by 4 or 5. 1
2, 3, 5, 7, 37, 59, 61, 73, 83, 151, 373, 383, 727, 1627, 3727, 4049, 4051, 4951, 5051, 5059, 6151, 15161, 15959, 16273, 26161, 26261, 37273, 40483, 48383, 61627, 62627, 72727, 73727, 73849, 83737, 84059, 94049, 94837, 94849, 94949, 94951 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
extend:= proc(n) local d, x;
d:= n mod 10;
seq(10*n+x, x = select(t -> t >= 0 and t <= 9, [d-5, d-4, d+4, d+5]))
end proc:
R:= 2, 3, 5, 7: count:= 4:
T:= [$1..9]:
for d from 2 while count < 100 do
T:= map(extend, T);
V:= select(isprime, T);
count:= count+nops(V);
R:= R, op(V);
od:
R; # Robert Israel, Oct 17 2023
CROSSREFS
Sequence in context: A065727 A090713 A090912 * A048401 A288718 A289861
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 March 28 10:55 EDT 2024. Contains 371241 sequences. (Running on oeis4.)