OFFSET
1,1
EXAMPLE
n = 5, n^3 + 2*n^2 + 5*n + 11 = 211 that is prime.
n = 7, n^3 + 2*n^2 + 5*n + 11 = 487 that is prime.
MATHEMATICA
Select[Table[n^3 + 2*n^2 + 5*n + 11, {n, 0, 200}], PrimeQ]
PROG
(PARI) for(n=0, 200, k = n^3+2*n^2+5*n+11; if(isprime(k), print1(k, " ")))
(Magma) [k: n in [0..100] | IsPrime(k) where k is n^3+2*n^2+5*n+11];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
K. D. Bajpai, Apr 15 2016
STATUS
approved