Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A124154
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A124154 Numbers n such that 1 + n + n^3 + n^5 is prime. +0
4
2, 4, 8, 20, 22, 32, 36, 50, 54, 62, 64, 72, 78, 84, 86, 90, 92, 94, 96, 98, 112, 124, 134, 144, 146, 216, 224, 238, 240, 246, 250, 256, 262, 276, 294, 296, 298, 300, 314, 334, 370, 378, 382, 392, 400, 402, 406, 420, 430, 450, 472, 480, 482, 494, 510, 512, 526 (list; graph; listen)
OFFSET

1,1

COMMENT

All numbers n have to be even, because sum of 3 odd + 1 is even and can't be prime >3

MATHEMATICA

Do[If[PrimeQ[1 + n + n^3 + n^5], Print[n]], {n, 1, 300}]

PROGRAM

(PARI) forstep(n=2, 1000, 2, if(isprime(1 + n + n^3 + n^5), print1(n", "))) [From Franklin T. Adams-Watters (FrankTAW(AT)Netscape.net), Apr 09 2009]

CROSSREFS

Cf. A049407.

Sequence in context: A034767 A005518 A014225 this_sequence A102634 A026520 A105319

Adjacent sequences: A124151 A124152 A124153 this_sequence A124155 A124156 A124157

KEYWORD

nonn,easy

AUTHOR

Artur Jasinski (grafix(AT)csl.pl), Dec 13 2006

EXTENSIONS

More terms from Franklin T. Adams-Watters (FrankTAW(AT)Netscape.net), Apr 09 2009

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 11 12:57 EST 2009. Contains 170656 sequences.


AT&T Labs Research