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!)
A020456 Primes that contain digits 1 and 8 only. 6
11, 181, 811, 881, 1181, 1811, 8111, 18181, 81181, 88811, 1111181, 1181881, 1881181, 1881811, 1881881, 8118181, 8181881, 8188111, 8188181, 8818811, 8881111, 8881811, 11818181, 11881811, 11888111, 18111881, 18118811, 18181181, 18811181, 18888811 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Flatten[Table[Select[FromDigits/@Tuples[{1, 8}, n], PrimeQ], {n, 8}]] (* Vincenzo Librandi, Jul 27 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(18888811) | Set(Intseq(p)) subset [1, 8]]; // Vincenzo Librandi, Jul 27 2012
CROSSREFS
Sequence in context: A174979 A157945 A106907 * A036935 A205088 A241193
KEYWORD
nonn,base
AUTHOR
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 August 15 11:55 EDT 2024. Contains 375173 sequences. (Running on oeis4.)