OFFSET
1,1
COMMENTS
a(n) is the sum of cross multiplying integers in groups of 4, a(n) = (4n-4)*(4n-1) + (4n-3)*(4n-2). For example, the group 4,5,6,7 yields the sum 4*7 + 5*6 = 58 = a(2).
Sequence found by reading the line from 2, in the direction 2, 58, ..., in the square spiral whose vertices are the generalized 18-gonal numbers A274979. - Omar E. Pol, Apr 20 2021
LINKS
FORMULA
G.f.: 2*x*(1 + 26*x + 5*x^2)/(1 - x)^3. - Stefano Spezia, Apr 22 2021
a(n) = determinant(matrix[4*n-1, -4*n+2, 4*n-3, 4*n-4]). - Peter Luschny, Apr 24 2021
a(n) = 3*a(n-1)-3*a(n-2)+a(n-3). - Wesley Ivan Hurt, May 02 2021
MATHEMATICA
Table[32*n^2 - 40*n + 10, {n, 50}] (* Wesley Ivan Hurt, May 02 2021 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Gavin Lupo, Apr 20 2021
STATUS
approved