OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
a(4)=351 because the 4th prime is 7, and 7^3 + 7 + 1 = 351.
MATHEMATICA
#^3+#+1&/@Prime[Range[50]] (* Harvey P. Dale, Jan 25 2011 *)
PROG
(Magma) [p^3+p+1: p in PrimesUpTo(700)]; // Vincenzo Librandi, Jan 26 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jani Melik, Jan 24 2011
STATUS
approved