login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Table of n, a(n) for n=1..55.

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

Cf. A172508, A181525.

Sequence in context: A337270 A209237 A322475 * A163487 A048413 A064336

Adjacent sequences:  A181523 A181524 A181525 * A181527 A181528 A181529

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 31 08:06 EDT 2021. Contains 346369 sequences. (Running on oeis4.)