OFFSET
1,1
MATHEMATICA
a[n_] := n^2 * Prime[n]; Array[a, 40] (* Amiram Eldar, Sep 02 2022 *)
PROG
(Python)
from sympy import prime
def a(n): return n**2 * prime(n)
print([a(n) for n in range(1, 41)]) # Michael S. Branicky, Sep 01 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alex Ratushnyak, Sep 01 2022
STATUS
approved