A340257 a(n) = 2^n * (1+n*(n+1)/2).
1, 4, 16, 56, 176, 512, 1408, 3712, 9472, 23552, 57344, 137216, 323584, 753664, 1736704, 3964928, 8978432, 20185088, 45088768, 100139008, 221249536, 486539264, 1065353216, 2323644416, 5049942016, 10938744832, 23622320128, 50868518912, 109253230592, 234075717632
Offset: 0
Keywords
Links
- Alois P. Heinz, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (6,-12,8).
Crossrefs
Programs
-
Maple
a:= n-> 2^n*(1+n*(n+1)/2): seq(a(n), n=0..30);
-
Mathematica
Table[2^n (1+(n(n+1))/2),{n,0,30}] (* or *) LinearRecurrence[{6,-12,8},{1,4,16},30] (* Harvey P. Dale, Jan 19 2023 *)