login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A020456 Primes that contain digits 1 and 8 only. 5
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

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

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

Adjacent sequences:  A020453 A020454 A020455 * A020457 A020458 A020459

KEYWORD

nonn,base

AUTHOR

David W. Wilson

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 November 14 02:19 EST 2019. Contains 329108 sequences. (Running on oeis4.)