A229851 Lucky Fermat factors.
641, 114689, 167772161, 6597069766657, 188894659314785808547841, 850705917302346158658436518579420528641, 2468256835981809063232453773836025757474103798450369795022913537
Offset: 1
Keywords
References
- M. Krizek, F. Luca, L. Somer, 17 Lectures on Fermat Numbers: From Number Theory to Geometry, CMS Books in Mathematics, vol. 9, Springer-Verlag, New York, 2001, pp. 77-79.
Links
- Wilfrid Keller, Fermat factoring status
- Eric Weisstein's World of Mathematics, Fermat Number
Programs
-
PARI
r=vector(12,m,select(k->p=k*2^(m+2)+1;p%3!=0&&p%5!=0&&p%7!=0&&p%13!=0,[3,5,6,7])[1]);for(m=0,+oo,k=r[(m+11)%12+1];p=k*2^(m+2)+1;Mod(2,p)^(2^m)+1==0&&print1(p,", ")) \\ Jeppe Stig Nielsen, Mar 13 2022
Comments