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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A124185 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 is prime. 3
182, 219, 393, 468, 629, 638, 755, 824, 960, 965, 984, 1002, 1053, 1068, 1095, 1110, 1140, 1209, 1233, 1269, 1457, 1518, 1539, 1547, 1590, 1622, 1659, 1707, 1797, 1818, 2174, 2259, 2333, 2799, 2975, 3032, 3074, 3272, 3285, 3338, 3368, 3477, 3564, 4118 (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], Print[n]], {n, 1, 1400}]

PROG

(MAGMA) [n: n in [0..5000] | 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)][From Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Nov 12 2010]

CROSSREFS

Cf. A049407.

Sequence in context: A185824 A204378 A054985 * A145297 A056091 A158553

Adjacent sequences:  A124182 A124183 A124184 * A124186 A124187 A124188

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 16 07:39 EST 2012. Contains 205881 sequences.