OFFSET
2,4
COMMENTS
a(n-2) <= A007117(n).
a(33) <= 5463561471303.
LINKS
Wilfrid Keller, Fermat factoring status
PROG
(PARI) print1(0, ", "0", "); for(n=4, 32, b=2^n; k=1; t=0; while(t<1, c=k*b+1; if(isprime(c), r=Mod(2, c)^(b/4); if(lift(r/b)<=k, if(valuation(lift(r), 2)==valuation(k, 2)+n, t=1; print1(k, ", ")))); k++));
CROSSREFS
KEYWORD
nonn
AUTHOR
Arkadiusz Wesolowski, Jan 24 2018
STATUS
approved