OFFSET
0,5
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (1,1,-1,0,0,2,-2,-2,2,0,0,-1,1,1,-1).
FORMULA
G.f.: (2*x^11+5*x^9+10*x^8+21*x^6+2*x^5+5*x^4+14*x^3+7*x^2+x+5)*x^4 / ((x^2+x+1)^2 *(x^2-x+1)^2 *(x+1)^3 *(x-1)^4).
EXAMPLE
a(4) = 5: 102, 120, 123, 201, 321 (written in base 4).
a(5) = 6: 132, 201, 204, 314, 402, 421 (written in base 5).
a(6) = 18: 103, 120, 123, 140, 143, 203, 240, 243, 320, 340, 403, 420, 423, 503, 520, 523, 540, 543 (written in base 6).
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, May 04 2020
STATUS
approved