The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A152913 Primes of the form n^4 + (n+1)^4. 17
17, 97, 337, 881, 3697, 10657, 16561, 49297, 66977, 89041, 149057, 847601, 988417, 1146097, 1972097, 2522257, 2836961, 3553777, 3959297, 4398577, 5385761, 7166897, 11073217, 17653681, 32530177, 41532497, 44048497, 55272097, 61627201 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Also primes in A008514.
Sequence is disjoint to A005385: If n^4 + (n+1)^4 is a prime p, then (p-1)/2 = n^4 + 2*n^3 + 3*n^2 + 2*n. (p-1)/2 = 8 for n = 1 and (p-1)/2 is divisible by n for n > 1. In each case, (p-1)/2 is not prime.
LINKS
EXAMPLE
For n=3, n^4 + (n+1)^4 = 337 is prime and (337-1)/2 = 168 = 3*56 is not prime.
MATHEMATICA
f[n_]:=n^4+(n+1)^4; lst={}; Do[a=f[n]; If[PrimeQ[a], AppendTo[lst, a]], {n, 0, 6!}]; lst (* Vladimir Joseph Stephan Orlovsky, May 30 2009 *)
Select[Table[n^4+(n+1)^4, {n, 0, 700}], PrimeQ]
Select[Total/@Partition[Range[100]^4, 2, 1], PrimeQ] (* Harvey P. Dale, Sep 29 2023 *)
PROG
(Magma) [ a: n in [1..80] | IsPrime(a) where a is n^4+(n+1)^4 ];
CROSSREFS
Sequence in context: A103766 A165347 A008514 * A184327 A331877 A358572
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Dec 15 2008
EXTENSIONS
Edited and extended by Klaus Brockhaus, Dec 21 2008
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 5 16:08 EDT 2024. Contains 373107 sequences. (Running on oeis4.)