OFFSET
1,1
LINKS
Juri-Stepan Gerasimov, x^(y + 1) - y^x, SeqFan list, Aug 18 2014.
Eric Weisstein's World of Mathematics, Fermat Prime.
EXAMPLE
97 is in this sequence because (1 + 2)^(2^2) + 2^(2^2) = 97 is prime and 2 is a divisor of 2.
MATHEMATICA
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 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Juri-Stepan Gerasimov, Jun 01 2017
STATUS
approved