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”).
%I #19 Dec 23 2024 14:53:45
%S 5,17,97,257,65537
%N Primes of the form (1 + x)^(2^y) + x^(2^y) where x is a divisor of y.
%H Juri-Stepan Gerasimov, <a href="https://web.archive.org/web/*/http://list.seqfan.eu/pipermail/seqfan/2014-August/028149.html">x^(y + 1) - y^x</a>, SeqFan list, Aug 18 2014.
%H Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/FermatPrime.html">Fermat Prime</a>.
%e 97 is in this sequence because (1 + 2)^(2^2) + 2^(2^2) = 97 is prime and 2 is a divisor of 2.
%t Sort@ Flatten@ Table[Function[{x, y}, Select[(1 + x)^(2^y) + x^(2^y), PrimeQ]] @@ {Divisors@ #, #} &@ n, {n, 12}] (* _Michael De Vlieger_, Jun 01 2017 *)
%Y Subsequence of A285886.
%Y Cf. A019434.
%K nonn,more,changed
%O 1,1
%A _Juri-Stepan Gerasimov_, Jun 01 2017