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!)
A126907 Numbers n such that 1 + n^2 + n^4 + n^5 is prime. 1

%I #8 Jun 24 2018 11:58:04

%S 2,4,6,8,12,18,32,34,68,70,78,88,110,114,116,118,120,122,132,134,142,

%T 150,172,180,186,190,210,216,238,246,254,272,294,322,362,376,380,386,

%U 388,408,476,500,502,506,508,520,530,542,564,584,588,590,616,620,632

%N Numbers n such that 1 + n^2 + n^4 + n^5 is prime.

%H Harvey P. Dale, <a href="/A126907/b126907.txt">Table of n, a(n) for n = 1..1000</a>

%t a = {}; Do[If[PrimeQ[1 + n^2 + n^4 + n^5], AppendTo[a, n]], {n, 1, 1400}]; a

%t Select[Range[700],PrimeQ[1+#^2+#^4+#^5]&] (* _Harvey P. Dale_, Jun 24 2018 *)

%o (PARI) is(n)=isprime(1+n^2+n^4+n^5) \\ _Charles R Greathouse IV_, Jun 13 2017

%Y Cf. A049407, A124175 A124176 A124177, A124178, A124179, A124180, A124181, A126908-A126916.

%K nonn,easy

%O 1,1

%A _Artur Jasinski_, Dec 31 2006

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 August 8 04:35 EDT 2024. Contains 375018 sequences. (Running on oeis4.)