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!)
A181525 Prime numbers such that the difference between any pair of digits is 0, 2, 3, 5 or 7. 1
2, 3, 5, 7, 11, 13, 29, 31, 41, 47, 53, 61, 79, 83, 97, 113, 131, 163, 181, 227, 229, 257, 277, 311, 313, 331, 353, 383, 449, 461, 479, 499, 503, 557, 577, 613, 631, 641, 661, 683, 727, 757, 797, 811, 853, 863, 881, 883, 929, 947, 977, 997, 1163, 1181, 1361 (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[ {0, 2, 3, 5, 7}, # ] & /@ (Subtract @@ Sort[ #, Greater] & /@ Subsets[ IntegerDigits@ n, {2}])] == {True} && PrimeQ@ n; Select[ Range@ 1380, fQ]

CROSSREFS

Cf. A172508, A181526.

Sequence in context: A294994 A292205 A111252 * A082843 A162567 A342566

Adjacent sequences:  A181522 A181523 A181524 * A181526 A181527 A181528

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 27 11:29 EDT 2021. Contains 346304 sequences. (Running on oeis4.)