求分数序列: 求出这个数列2/1,-3/2,5/3,-13/5,-21/13的前20项之和
时间: 2023-05-28 10:01:05 浏览: 126
stern-brocot:Stern-Brocot 序列中的数分布
先列出前20项:
2/1,
-3/2,
5/3,
-13/5,
-21/13,
34/21,
-55/34,
89/55,
-233/89,
-377/233,
610/377,
-987/610,
1597/987,
-4181/1597,
-6765/4181,
10946/6765,
-28657/10946,
-46368/28657,
75025/46368,
-121393/75025
然后求和:
2/1 + (-3/2) + 5/3 + (-13/5) + (-21/13) + 34/21 + (-55/34) + 89/55 + (-233/89) + (-377/233) + 610/377 + (-987/610) + 1597/987 + (-4181/1597) + (-6765/4181) + 10946/6765 + (-28657/10946) + (-46368/28657) + 75025/46368 + (-121393/75025) = -10946/75025 ≈ -0.146(rng)
阅读全文