OFFSET
1,1
LINKS
Ivan Panchenko, Table of n, a(n) for n = 1..1000
FORMULA
Product_{n>=1} (1 - 1/a(n)) = A065465. - Amiram Eldar, Jan 23 2021
EXAMPLE
a(4)=392 because the 4th prime number is 7, 7^3=343, 7^2=49 and 343+49=392.
MAPLE
A135178:= n -> map(p -> p^(2)+p^(3), ithprime(n)):
seq(A135178(n), n=1..32); # Jani Melik, Jan 25 2010
MATHEMATICA
Table[p=Prime[n]; p^2+p^3, {n, 100}] (* Vladimir Joseph Stephan Orlovsky, Mar 21 2011*)
#^3+#^2&/@Prime[Range[40]] (* Harvey P. Dale, May 07 2023 *)
PROG
(Magma)[ p^3 + p^2: p in PrimesUpTo(200)]; // Vincenzo Librandi, Dec 14 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
Omar E. Pol, Nov 25 2007
STATUS
approved