%I #5 Apr 19 2013 08:34:55
%S 4,12,14,18,22,24,28,34,52,62,64,78,94,104,110,118,122,132,140,144,
%T 154,158,160,178,194,204,214,218,220,234,258,262,270,272,290,294,312,
%U 314,322,344,368,370,372,382,388,424,430,440,442,454,482,494,498,518,542
%N Numbers n such that p=1+2n+3n^2+4n^3 is prime.
%C Corresponding p's are 313, 7369, 11593, 24337, 44089, 57073, 90217, 160753, 570649, 964969, 1060993, 1916617, 3349033, 4532113, 5360521, 6614137, 7308289, 9252409, 11035081 A123059.
%o (PARI) lista(m) = {for (n=1, m, if (isprime(1 + 2*n + 3*n^2 + 4*n^3), print1(n, ", ")););} \\ _Michel Marcus_, Apr 19 2013
%Y Cf. A056578, A123059.
%K easy,nonn
%O 1,1
%A _Zak Seidov_, Sep 27 2006
|