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!)
A181526 Prime numbers such that the difference between any pair of digits is 1, 2, 3, 5 or 7. 1
2, 3, 5, 7, 13, 23, 29, 31, 41, 43, 47, 53, 61, 67, 79, 83, 89, 97, 103, 163, 241, 257, 421, 431, 457, 461, 463, 467, 479, 503, 523, 547, 563, 587, 613, 631, 641, 643, 647, 653, 683, 769, 853, 857, 863, 947, 967, 1423, 2053, 2143, 2341, 2503, 2543, 2749, 3461 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
fQ[n_] := Union[ MemberQ[ {1, 2, 3, 5, 7}, # ] & /@ (Subtract @@ Sort[ #, Greater] & /@ Subsets[ IntegerDigits@ n, {2}])] == {True} && PrimeQ@ n; Select[ Range@ 4230, fQ]
CROSSREFS
Sequence in context: A337270 A209237 A322475 * A163487 A048413 A064336
KEYWORD
nonn,base,less
AUTHOR
Robert G. Wilson v, Oct 26 2010
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 September 2 02:41 EDT 2024. Contains 375602 sequences. (Running on oeis4.)