OFFSET
1,1
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
Benedek Nagy, The hyper-Wiener Index of diamond nanowires, International Journal of Quantum Chemistry, e27258, 2023.
Eric Weisstein's World of Mathematics, Wiener Index
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(n) = (338*n^3 + 234*n^2 + 124*n)/3.
MATHEMATICA
LinearRecurrence[{4, -6, 4, -1}, {232, 1296, 3868, 8624}, 50] (* Paolo Xausa, Oct 01 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Benedek Nagy, Oct 24 2023
STATUS
approved