A092506 Prime numbers of the form 2^n + 1.
2, 3, 5, 17, 257, 65537
Offset: 1
Links
- Rafay A. Ashary, A Property of A092506
- Barry Brent, On the constant terms of certain meromorphic modular forms for Hecke groups, arXiv:2212.12515 [math.NT], 2022.
- Eric Weisstein's World of Mathematics, Fermat Prime
- Eric Weisstein's World of Mathematics, Fermat Number
Crossrefs
Programs
-
GAP
Filtered(List([1..20],n->2^n+1),IsPrime); # Muniru A Asiru, Oct 25 2018
-
Magma
[2^n + 1 : n in [0..25] | IsPrime(2^n+1)]; // Vincenzo Librandi, Oct 14 2018
-
Mathematica
Select[2^Range[0,100]+1,PrimeQ] (* Harvey P. Dale, Aug 02 2015 *)
-
PARI
print1(2); for(n=0,9, if(ispseudoprime(t=2^2^n+1), print1(", "t))) \\ Charles R Greathouse IV, Aug 29 2016
Comments