OFFSET
1,1
COMMENTS
The sequence is conjectured to be infinite.
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
KEYWORD
nonn,base
AUTHOR
Bob Selcoe, Sep 03 2016
STATUS
approved