OFFSET
1,1
COMMENTS
These repunit numbers of the form (10^n-1)/9 have no prime factors congruent to 3 (mod 7) or 5 (mod 7) or 6 (mod 7) to an odd power. Also the power of 2 is not 1.
LINKS
Samuel S. Wagstaff, Jr. The Cunningham Project
MATHEMATICA
Select[Prime[Range[70]], Length[Solve[a^2+7b^2==(10^#-1)/9, {a, b}, Integers]] > 0&] (* Harvey P. Dale, Aug 19 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
V. Raman, Sep 08 2012
STATUS
approved