|
|
A276276
|
|
a(n) = a(n-2)+a(n-3) with a(1)=2 a(2)=1 a(3)=0.
|
|
0
|
|
|
2, 1, 0, 3, 1, 3, 4, 4, 7, 8, 11, 15, 19, 26, 34, 45, 60, 79, 105, 139, 184, 244, 323, 428, 567, 751, 995, 1318, 1746, 2313, 3064, 4059, 5377, 7123, 9436, 12500, 16559, 21936, 29059, 38495, 50995, 67554, 89490
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Sequence is obtained from modulo 3 periodic sequence of Padovan numbers 1112201210010, it satisfies the same recurrence a(n) = a(n-2) + a(n-3).
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (2x^2-x-2)/(x^3+x^2-1).
|
|
MATHEMATICA
|
RecurrenceTable[{a[n] == a[n - 2] + a[n - 3], a[1] == 2, a[2] == 1, a[3] == 0}, a, {n, 1, 43}] (* or *)
CoefficientList[Series[(2 x^2 - x - 2)/(x^3 + x^2 - 1), {x, 0, 42}], x] (* Michael De Vlieger, Aug 28 2016 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|