OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
f[n_]:=n^4+(n+1)^4; lst={}; Do[a=f[n]; If[PrimeQ[a], AppendTo[lst, n]], {n, 0, 5!}]; lst (* Vladimir Joseph Stephan Orlovsky, May 30 2009 *)
Select[Range[200], PrimeQ[#^4+(#+1)^4]&] (* Harvey P. Dale, Jun 15 2013 *)
Position[Total/@Partition[Range[200]^4, 2, 1], _?PrimeQ]//Flatten (* Harvey P. Dale, Sep 20 2023 *)
PROG
(Magma) [n: n in [1..200] | IsPrime(n^4+(n+1)^4)]; // Vincenzo Librandi, Aug 31 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 22 2009
STATUS
approved