login
This site is supported by donations to The OEIS Foundation.

 

Logo

The OEIS is looking to hire part-time people to help edit core sequences, upload scanned documents, process citations, fix broken links, etc. - Neil Sloane, njasloane@gmail.com

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A000068 Numbers n such that n^4 + 1 is prime.
(Formerly M1027 N0386)
45
1, 2, 4, 6, 16, 20, 24, 28, 34, 46, 48, 54, 56, 74, 80, 82, 88, 90, 106, 118, 132, 140, 142, 154, 160, 164, 174, 180, 194, 198, 204, 210, 220, 228, 238, 242, 248, 254, 266, 272, 276, 278, 288, 296, 312, 320, 328, 334, 340, 352, 364, 374, 414, 430, 436, 442, 466 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

REFERENCES

Dubner, Harvey. "Generalized Fermat primes." J. Recreational Math., 18 (1985): 279-280.

N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).

N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

LINKS

T. D. Noe, Table of n, a(n) for n = 1..10000

M. Lal, Primes of the form n^4 + 1, Math. Comp., 21 (1967), 245-247.

D. Shanks, On numbers of the form n^4+1, Math. Comp. 15 (74) (1961), 186-189.

MATHEMATICA

Select[Range[10^2*2], PrimeQ[ #^4+1] &] (* Vladimir Joseph Stephan Orlovsky, May 01 2008 *)

PROG

(PARI) {a(n) = local(m); if( n<1, 0, for(k=1, n, until( isprime(m^4 + 1), m++)); m)};

(MAGMA) [n: n in [0..800] | IsPrime(n^4+1)]; // Vincenzo Librandi, Nov 18 2010

CROSSREFS

Cf. A002523, A005574, A006313, A006314, A006315, A006316, A037896, A056994, A056995.

Sequence in context: A100361 A259939 A069654 * A067662 A248334 A001774

Adjacent sequences:  A000065 A000066 A000067 * A000069 A000070 A000071

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified May 27 15:22 EDT 2017. Contains 287207 sequences.