A332519 a(n) = 4*(n^2 + n - 2).
0, 16, 40, 72, 112, 160, 216, 280, 352, 432, 520, 616, 720, 832, 952, 1080, 1216, 1360, 1512, 1672, 1840, 2016, 2200, 2392, 2592, 2800, 3016, 3240, 3472, 3712, 3960, 4216, 4480, 4752, 5032, 5320, 5616, 5920, 6232, 6552, 6880, 7216, 7560, 7912, 8272, 8640, 9016, 9400, 9792
Offset: 1
Links
- Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
Programs
-
Mathematica
a[n]:=a[n]=4(n^2+n-2)
-
PARI
apply( A332519(n)=(n^2+n-2)<<2, [1..55]) \\ M. F. Hasler, Apr 26 2022
Comments