login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A126909 Numbers n such that 1 + n^2 + n^4 + n^6 + n^8 + n^9 is prime. 1
2, 18, 48, 56, 116, 120, 128, 146, 194, 198, 200, 230, 266, 278, 282, 288, 324, 362, 372, 390, 396, 420, 434, 458, 488, 576, 594, 708, 714, 728, 740, 774, 818, 830, 860, 888, 896, 912, 914, 990, 996, 1002, 1008, 1010, 1016, 1044, 1124, 1128, 1140, 1146, 1260 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
a = {}; Do[If[PrimeQ[1 + n^2 + n^4 + n^6 + n^8 + n^9], AppendTo[a, n]], {n, 1, 1400}]; a
Select[Range[1300], PrimeQ[1+#^2+#^4+#^6+#^8+#^9]&] (* Harvey P. Dale, Apr 25 2020 *)
PROG
(PARI) is(n)=isprime(1+n^2+n^4+n^6+n^8+n^9) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A131538 A009820 A304933 * A139268 A052681 A208652
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Dec 31 2006
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 12:33 EDT 2024. Contains 371969 sequences. (Running on oeis4.)