OFFSET
0,2
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
a(n) = 6*n^2 + 8*n.
EXAMPLE
This is the 5th row of A392248, a(n) = floor(5^2/2^2)*n^2 + n*(5^3 - 3*5^2 - 5 + 3*(5 mod 2))/6.
MATHEMATICA
LinearRecurrence[{3, -3, 1}, {0, 14, 40}, 50] (* Paolo Xausa, Jan 10 2026 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Peter Luschny, Jan 09 2026
STATUS
approved
