login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Primes of the form 2^(2^n) + 331.
1

%I #7 Sep 08 2022 08:46:17

%S 347,587,65867,4294967627,18446744073709551947

%N Primes of the form 2^(2^n) + 331.

%C Terms given correspond to n = 2, 3, 4, 5 and 6.

%C Next term >= 2^2^30 + 331. - _Charles R Greathouse IV_, Jun 07 2016

%t Select[Table[2^(2^n) + 331, {n, 0, 15}], PrimeQ]

%o (Magma) [a: n in [0..16] | IsPrime(a) where a is 2^(2^n)+331];

%o (PARI) for(n=1,6, if(ispseudoprime(t=2^2^n+331), print1(t", "))) \\ _Charles R Greathouse IV_, Jun 07 2016

%Y Cf. similar sequences listed in A273547.

%K nonn

%O 1,1

%A _Vincenzo Librandi_, Jun 02 2016