login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A244379 Numbers n such that 1 + n + n^3 + n^5 + n^7 + n^9 + ... + n^21 is prime. 2
2, 30, 56, 122, 216, 246, 248, 318, 552, 846, 948, 1100, 1128, 1148, 1200, 1296, 1308, 1416, 1716, 1812, 1818, 1920, 2040, 2166, 2196, 2210, 2582, 2592, 2672, 2696, 2828, 2862, 2886, 2970, 3150, 3192, 3378, 3396, 3492, 3522, 3626, 3782, 3998, 4040, 4070 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..700

MATHEMATICA

Select[Range[5000], PrimeQ[Total[#^Range[1, 21, 2]] + 1]&]

PROG

(MAGMA) [n: n in [0..4500] | IsPrime(s) where s is 1+&+[n^i: i in [1..21 by 2]]];

(Sage)

i, n = var('i, n')

[n for n in (1..4100) if is_prime(1+(n^(2*i+1)).sum(i, 0, 10))] # Bruno Berselli, Jun 27 2014

CROSSREFS

Cf. similar sequences listed in A244376.

Sequence in context: A078208 A105403 A134644 * A189100 A085637 A193177

Adjacent sequences:  A244376 A244377 A244378 * A244380 A244381 A244382

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Jun 27 2014

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 5 06:54 EDT 2020. Contains 335459 sequences. (Running on oeis4.)