OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..33 (* All terms with less than 1,000 digits *)
EXAMPLE
a(2)=6661 is a term because all digits are equal to 6 except one.
MATHEMATICA
Select[FromDigits/@Flatten[Table[PadLeft[{pd}, n, 6], {pd, {1, 7}}, {n, 3, 30}], 1], PrimeQ]//Sort (* Harvey P. Dale, Sep 01 2021 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Shyam Sunder Gupta, Apr 29 2005
EXTENSIONS
More terms from Harvey P. Dale, Sep 01 2021
Name clarified by Robert Price, Sep 10 2023
STATUS
approved