蔡家雄 发表于 2023-3-11 23:39
求数列的通解公式,
1, 1, 3, 4, 11, 15, 41, 56, 153, 209, 571, 780, 2131, 2911, 7953, 10864, 29681 ...
“爬楼梯”按钮,LinearRecurrence[{0, 4, 0, -1}, {1, 1, 3, 4}, 30]
{1, 1, 3, 4, 11, 15, 41, 56, 153, 209, 571, 780, 2131, 2911, 7953, 10864,
29681, 40545, 110771, 151316, 413403, 564719, 1542841, 2107560,
5757961, 7865521, 21489003, 29354524, 80198051, 109552575}
\(a_n=\frac{(1+\sqrt{3}\mod(n,2))(2+\sqrt{3})^{\lfloor n/2\rfloor}}{2\sqrt{3}}\)
与昨天还不是一样的? |