A176662 a(0)=2, a(1)=7, and a(n) = (3*n+1)*2^(n-1) if n > 1.
2, 7, 14, 40, 104, 256, 608, 1408, 3200, 7168, 15872, 34816, 75776, 163840, 352256, 753664, 1605632, 3407872, 7208960, 15204352, 31981568, 67108864, 140509184, 293601280, 612368384, 1275068416, 2650800128, 5502926848, 11408506880, 23622320128, 48855252992
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (4,-4).
Programs
-
Mathematica
LinearRecurrence[{4,-4},{2,7,14,40},40] (* or *) Join[{2,7},Table[ (3n+1) 2^(n-1),{n,2,40}]] (* Harvey P. Dale, Oct 05 2019 *)
Formula
Extensions
Edited by R. J. Mathar, Jun 30 2010
Comments