login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

a(n) = n^2 * prime(n).
0

%I #15 Sep 03 2022 22:23:46

%S 2,12,45,112,275,468,833,1216,1863,2900,3751,5328,6929,8428,10575,

%T 13568,17051,19764,24187,28400,32193,38236,43907,51264,60625,68276,

%U 75087,83888,91669,101700,122047,134144,149193,160684,182525,195696,214933,235372,254007,276800,300899

%N a(n) = n^2 * prime(n).

%t a[n_] := n^2 * Prime[n]; Array[a, 40] (* _Amiram Eldar_, Sep 02 2022 *)

%o (Python)

%o from sympy import prime

%o def a(n): return n**2 * prime(n)

%o print([a(n) for n in range(1, 41)]) # _Michael S. Branicky_, Sep 01 2022

%Y Cf. A000040, A000290, A004232, A033286, A196421.

%K nonn,easy

%O 1,1

%A _Alex Ratushnyak_, Sep 01 2022