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!)
A276461 Prime numbers whose digits are k+1 1's and k 2's for some k >= 1. 0
211, 12211, 21121, 21211, 22111, 1121221, 1212121, 2121121, 2211211, 2221111, 111221221, 112212211, 112221211, 121211221, 211122211, 211212121, 211222111, 221112121, 221212111, 11122121221, 11122221211, 11211221221, 11212211221, 11212221121, 11222112211 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The sequence is conjectured to be infinite.
LINKS
MATHEMATICA
Table[Select[Map[FromDigits, Permutations[ConstantArray[1, n + 1] ~Join~ ConstantArray[2, n], {2 n + 1}]], PrimeQ], {n, 5}] // Flatten (* Michael De Vlieger, Sep 04 2016 *)
PROG
(PARI) listp(nn) = { forprime(p=2, nn, d = digits(p); if ((vecmin(d) == 1) && (vecmax(d) == 2) && (#select(x->x==1, d) == #select(x->x==2, d) +1), print1(p, ", "); ); ); } \\ Michel Marcus, Sep 04 2016
CROSSREFS
Sequence in context: A289983 A212851 A069425 * A093732 A116075 A276462
KEYWORD
nonn,base
AUTHOR
Bob Selcoe, Sep 03 2016
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 April 25 11:06 EDT 2024. Contains 371967 sequences. (Running on oeis4.)