A265482 Numbers k such that 16^k - 4^k - 1 is prime.
1, 2, 5, 9, 19, 25, 54, 104, 112, 120, 177, 317, 504, 540, 734, 780, 1649, 1923, 2715, 4308, 5917, 6494, 7305, 22653, 26888, 71448, 93834, 137027, 158472, 174648
Offset: 1
Examples
5 is in the sequence because 16^5-4^5-1 = 1047551 is prime.
Programs
-
Magma
[n: n in [0..500] | IsPrime(16^n-4^n-1)];
-
Mathematica
Select[Range[2500], PrimeQ[16^# - 4^# - 1] &]
-
PARI
is(n)=ispseudoprime(16^n-4^n-1) \\ Charles R Greathouse IV, Jun 13 2017
Comments