OFFSET
0,3
COMMENTS
The sequence and the 1st, 2nd, 3rd etc. difference form the array
1, 1, 3, 4, 10, 17, 37, 70, 144, 283, 571, 1136,..
0, 2, 1, 6, 7, 20, 33, 74, 139, 288, 565, 1142, 2271,..
2, -1, 5, 1, 13, 13, 41, 65, 149, 277, 577, 1129, 2285,..
-3, 6, -4, 12, 0, 28, 24, 84, 128, 300, 552, 1156,...
where the sequence 1,2,5,12,.... = A045623 appears on the diagonal.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,3,-1,-2).
FORMULA
PROG
(Magma) [5*2^n/9 +1/4 +(-1)^n*(n/6+7/36): n in [0..40]]; // Vincenzo Librandi, Aug 05 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Feb 02 2010
STATUS
approved