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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A020450 Primes that contain digits 1 and 2 only. 0
2, 11, 211, 2111, 2221, 12211, 21121, 21211, 21221, 22111, 111121, 111211, 112111, 112121, 1111211, 1121221, 1212121, 1212221, 1221221, 2121121, 2211211, 2221111, 11221211, 12111221, 12121121, 12121211, 12122111, 12122221, 12212111, 12222121 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

PROG

(PARI) for(nd=1, 9, forvec(v=vector(nd, i, [49, 50-(i==nd && i>1)]), isprime(t=eval(Strchr(Vecsmall(v)))) && print1(t", "))) [From M. F. Hasler (www.univ-ag.fr/~mhasler), Mar 18 2010]

CROSSREFS

Cf. A020449 (digits 0 & 1), ..., A020472 (digits 8 & 9). [From M. F. Hasler (www.univ-ag.fr/~mhasler), Mar 18 2010]

Sequence in context: A051663 A188203 A070256 * A036229 A104337 A042805

Adjacent sequences:  A020447 A020448 A020449 * A020451 A020452 A020453

KEYWORD

nonn,base

AUTHOR

David W. Wilson (davidwwilson(AT)comcast.net)

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 05:54 EST 2012. Contains 205985 sequences.