OFFSET
1,2
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
If k=90 then (4*90^5 + 1) = 23619600001, which is prime.
If k=133 then (4*133^5 + 1) = 166463183573, which is prime.
MAPLE
select(t -> isprime(4*t^5+1), [$1..1000]); # Robert Israel, Jun 19 2018
MATHEMATICA
Do[If[PrimeQ[4*n^5 + 1], Print[n]], {n, 0, 1000}]
Select[Range[700], PrimeQ[4#^5+1]&] (* Harvey P. Dale, Aug 25 2023 *)
PROG
(Magma) [n: n in [0..1500] | IsPrime(4*n^5 + 1)]; // Vincenzo Librandi, Jan 31 2011
(PARI) is(n)=isprime((4*n^5+1)) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Mar 07 2006
EXTENSIONS
More terms from Craig Baribault (csb166(AT)psu.edu), Mar 14 2006 and Jessica M. Cornwall (jmc510(AT)psu.edu), Mar 22 2006
STATUS
approved