OFFSET
1,3
COMMENTS
The sequence repeats after 13 terms.
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,0,0,0,0,1).
FORMULA
G.f.: (1 + x + 2*x^2 + x^3 + 3*x^4 + x^5 + 3*x^6 + 3*x^7 + 2*x^8 + x^9 + x^10 + 2*x^11 + 4*x^12)/(1 - x^13). - Stefano Spezia, Jul 21 2019
EXAMPLE
1
[1], 1
[1 , 1], 2
1 , 1 ,[2], 1
1 ,[1 , 2 , 1], 3
1 , 1 , 2 , 1 ,[3], 1
1 , 1 , 2 ,[1 , 3 , 1], 3
1 , 1 , 2 , 1 ,[3 , 1 , 3], 3
1 , 1 , 2 , 1 , 3 , 1 ,[3 , 3], 2
1 , 1 , 2 , 1 , 3 , 1 , 3 , 3 ,[2], 1
1 , 1 , 2 , 1 , 3 , 1 , 3 , 3 , 2 ,[1], 1
1 , 1 , 2 , 1 , 3 , 1 , 3 , 3 , 2 ,[1 , 1], 2
1 , 1 , 2 , 1 , 3 , 1 , 3 , 3 ,[2 , 1 , 1 , 2], 4
CROSSREFS
KEYWORD
nonn
AUTHOR
Samuel B. Reid, Jun 15 2019
STATUS
approved