OFFSET
1,1
LINKS
Anders Björn and Hans Riesel, Factors of generalized Fermat numbers, Math. Comp. 67 (1998), no. 221, pp. 441-446.
Anders Björn and Hans Riesel, Table errata to "Factors of generalized Fermat numbers", Math. Comp. 74 (2005), no. 252, p. 2099.
Anders Björn and Hans Riesel, Table errata 2 to "Factors of generalized Fermat numbers", Math. Comp. 80 (2011), pp. 1865-1866.
OEIS Wiki, Generalized Fermat numbers
MATHEMATICA
lst = {}; Do[p = 3*2^n + 1; If[PrimeQ[p] && IntegerQ@Log[2, MultiplicativeOrder[7, p]], AppendTo[lst, n]], {n, 3912}]; lst
PROG
(Magma) SetDefaultRealField(RealField(400)); IsInteger := func<k | k eq Floor(k)>; [n: n in [2..408] | IsPrime(k) and IsInteger(Log(2, Modorder(7, k))) where k is 3*2^n+1];
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Arkadiusz Wesolowski, Feb 25 2017
STATUS
approved