|
|
A321232
|
|
Length of n-th term of A321225.
|
|
2
|
|
|
1, 1, 1, 3, 2, 4, 4, 4, 5, 6, 6, 6, 8, 7, 9, 9, 9, 10, 11, 11, 11, 13, 12, 14, 14, 14, 15, 16, 16, 16, 18, 17, 19, 19, 19, 20, 21, 21, 21, 23, 22, 24, 24, 24, 25, 26, 26, 26, 28, 27, 29, 29, 29, 30, 31, 31, 31, 33, 32, 34, 34, 34, 35, 36, 36, 36, 38, 37, 39, 39, 39, 40
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,4
|
|
LINKS
|
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,1,-1).
|
|
FORMULA
|
a(n) = a(n-9) + 5, for n > 9.
G.f.: x*(x^8 + 2*x^5 - x^4 + 2*x^3 + 1)/(x^10 - x^9 - x + 1). - Chai Wah Wu, Jan 06 2020
|
|
EXAMPLE
|
--+---------+-----
1 | 1 | 1
2 | 2 | 1
3 | 3 | 1
4 | 211 | 3
5 | 23 | 2
6 | 2112 | 4
7 | 3211 | 4
8 | 2321 | 4
9 | 12321 | 5
|
|
MATHEMATICA
|
LinearRecurrence[{1, 0, 0, 0, 0, 0, 0, 0, 1, -1}, {1, 1, 1, 3, 2, 4, 4, 4, 5, 6}, 100] (* Paolo Xausa, Apr 24 2024 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|