OFFSET
1,1
COMMENTS
In no element of this sequence can the number of 7's be congruent to 2 modulo 3.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..12
Vladislav Avrutin, Prime pyramids
Makoto Kamada, Prime numbers of the form 177...77.
MATHEMATICA
Do[ a = 10^n + 7(10^n - 1)/9; If[ PrimeQ[a], Print[a]], {n, 1, 53}] (* Robert G. Wilson v, Dec 05 2003 *)
Select[Table[FromDigits[PadRight[{1}, n, 7]], {n, 0, 60}], PrimeQ] (* Harvey P. Dale, Jun 15 2022 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Sam Alexander, Nov 12 2003
STATUS
approved