login
A274693
Numbers n such that 4^n + 3^(n+1) is prime.
0
1, 2, 4, 5, 9, 10, 12, 17, 18, 29, 30, 40, 58, 82, 113, 129, 164, 192, 252, 524, 624, 766, 977, 1742, 2208, 2440, 3052, 4742, 5480, 16572, 17501
OFFSET
1,2
COMMENTS
a(32) > 10^5.
EXAMPLE
5 is a member since 4^5 + 3^6 = 1024 + 729 = 1753 which is a prime number.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[4^# + 3^(# + 1)] &]
PROG
(PARI) lista(nn) = for(n=1, nn, if(ispseudoprime(4^n + 3^(n+1)), print1(n, ", "))); \\ Altug Alkan, Jul 02 2016
(Magma) [n: n in [1..700] | IsPrime(4^n + 3^(n+1))]; // Vincenzo Librandi, Jul 03 2016
KEYWORD
nonn,more
AUTHOR
Robert Price, Jul 02 2016
STATUS
approved