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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A124189 Numbers n such that 1 + n + n^3 + n^5 + n^7 + n^9 + n^11 + n^13 + n^15 + n^17 + n^19 + n^21 + n^23 + n^25 + n^27 + n^29 + n^31 + n^33 + n^35 + n^37 + n^39 is prime. 3
42, 47, 60, 119, 153, 179, 195, 236, 269, 287, 383, 821, 846, 921, 924, 1104, 1181, 1200, 1349, 1806, 1917, 1980, 2015, 2049, 2057, 2369, 2394, 2522, 2660, 2876, 2882, 2940, 2991, 3206, 3311, 3570, 3695, 3741, 3785, 3840, 3944, 3966 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

MATHEMATICA

Do[If[PrimeQ[1+n+n^3+n^5+n^7+n^9+n^11+n^13+n^15+n^17+n^19+n^21+n^23+n^25+n^27+n^29+n^31+

n^33+n^35+n^37+n^39], Print[n]], {n, 1, 2400}]

PROG

(MAGMA) [n: n in [0..4000] | IsPrime(1 + n + n^3 + n^5 + n^7+ n^9 + n^11 + n^13 + n^15 + n^17 + n^19 + n^21 + n^23 + n^25 + n^27 +n^29 + n^31 + n^33 + n^35 + n^37 + n^39)][From Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Nov 12 2010]

CROSSREFS

Cf. A049407.

Sequence in context: A169907 A095493 A095485 * A063998 A186456 A181647

Adjacent sequences:  A124186 A124187 A124188 * A124190 A124191 A124192

KEYWORD

nonn

AUTHOR

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

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

Content is available under The OEIS End-User License Agreement .

Last modified February 15 10:28 EST 2012. Contains 205763 sequences.