OFFSET
1,1
COMMENTS
These numbers of the form (2^n+1)/3 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[170]], FindInstance[a^2+7b^2==(2^#+1)/3, {a, b}, Integers] != {}&] (* Harvey P. Dale, Sep 04 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
V. Raman, Sep 08 2012
STATUS
approved