OFFSET
1,1
COMMENTS
The final digit must be 1 or 7. - Harvey P. Dale, May 28 2026
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..21 (first 19 terms from Robert Price)
EXAMPLE
3331 is a term because all digits are equal to 3 except the last one.
MATHEMATICA
Select[FromDigits/@Flatten[Table[{PadLeft[{1}, n, 3], PadLeft[{7}, n, 3]}, {n, 3, 50}], 1], PrimeQ] (* Harvey P. Dale, May 28 2026 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Robert Price, Sep 10 2023
STATUS
approved
