斐波那契数

STEM版,合并数学,物理,化学,科学,工程,机械。不包括生物、医学相关,和计算机相关内容。

版主: verdeliteTheMatrix

回复
头像
(ヅ)楼主
论坛支柱
论坛支柱
帖子互动: 549
帖子: 11819
注册时间: 2022年 8月 21日 14:20

斐波那契数

帖子 (ヅ)楼主 »

证明or证伪:

如果a | b,则 Fib(a) | Fib(b)

Fib(a) 为第a个Fibonacci数. Fib(1) = Fib(2) = 1
Caravel
论坛元老
论坛元老
Caravel 的博客
帖子互动: 685
帖子: 27162
注册时间: 2022年 7月 24日 17:21

Re: 斐波那契数

帖子 Caravel »

a | b是什么操作?
头像
YWY(夜未央)
论坛元老
论坛元老
2023-24年度十大优秀网友
帖子互动: 1340
帖子: 14440
注册时间: 2022年 7月 22日 17:25

Re: 斐波那契数

帖子 YWY(夜未央) »

Caravel 写了: 2023年 5月 15日 18:55 a | b是什么操作?
a | b 就是a整除b的意思。一楼的问题我这就去写证明,我刚想到一个“妙法”。
头像
tfusion
论坛支柱
论坛支柱
帖子互动: 729
帖子: 9537
注册时间: 2022年 7月 25日 15:42

Re: 斐波那契数

帖子 tfusion »

书直觉这个就不对。
头像
YWY(夜未央)
论坛元老
论坛元老
2023-24年度十大优秀网友
帖子互动: 1340
帖子: 14440
注册时间: 2022年 7月 22日 17:25

Re: 斐波那契数

帖子 YWY(夜未央) »

(ヅ) 写了: 2023年 5月 15日 14:21 证明or证伪:

如果a | b,则 Fib(a) | Fib(b)

Fib(a) 为第a个Fibonacci数. Fib(1) = Fib(2) = 1
Let f(n) denote the n-th Fibonacci number. Let a be a natural number. We are going to prove f(a) | f(na) for all non-negative integer n. (In fact, f(a) | f(na) for all integers (positive or negative), with similar proof.)

Proof. Induct on n. When n = 0 or 1, the claim is clear. Assume the claim holds for n = k, i.e., f(a) | f(ka). Next, we consider integers modulo f(a). Thus, f(ka) = 0. Denote f(ka -1) by x. Then (again, modulo f(a)) we have f(ka+1) = f(ka-1)+f(ka) = f(ka-1) + 0 = f(ka-1) = x = f(1)x. Hence, f(ka+2) = f(ka) + f(ka+1) = 0 + f(ka+1) = x = f(2)x. Similarly, mod f(ka), we see f(ka+3) = f(ka+1) + f(ka+2) = x + x = 2x = f(3)x. Now, it is not hard to see that f(ka + i) = f(i)x, mod f(a), for all i. Thus, mod f(a), we see f((k+1)a) = f(ka + a) = f(a)x = 0, which simply says that f(a) divides f((k+1)a). This concludes the induction process. QED.
nk
著名点评
著名点评
帖子互动: 391
帖子: 4287
注册时间: 2023年 3月 15日 06:49

Re: 斐波那契数

帖子 nk »

YWY 写了: 2023年 5月 15日 19:29 Let f(n) denote the n-th Fibonacci number. Let a be a natural number. We are going to prove f(a) | f(na) for all non-negative integer n. (In fact, f(a) | f(na) for all integers (positive or negative), with similar proof.)

Proof. Induct on n. When n = 0 or 1, the claim is clear. Assume the claim holds for n = k, i.e., f(a) | f(ka). Next, we consider integers modulo f(a). Thus, f(ka) = 0. Denote f(ka -1) by x. Then (again, modulo f(a)) we have f(ka+1) = f(ka-1)+f(ka) = f(ka-1) + 0 = f(ka-1) = x = f(1)x. Hence, f(ka+2) = f(ka) + f(ka+1) = 0 + f(ka+1) = x = f(2)x. Similarly, mod f(ka), we see f(ka+3) = f(ka+1) + f(ka+2) = x + x = 2x = f(3)x. Now, it is not hard to see that f(ka + i) = f(i)x, mod f(a), for all i. Thus, mod f(a), we see f((k+1)a) = f(ka + a) = f(a)x = 0, which simply says that f(a) divides f((k+1)a). This concludes the induction process. QED.
这个做得非常完美。点赞。
头像
YWY(夜未央)
论坛元老
论坛元老
2023-24年度十大优秀网友
帖子互动: 1340
帖子: 14440
注册时间: 2022年 7月 22日 17:25

Re: 斐波那契数

帖子 YWY(夜未央) »

newkids_on_the_block 写了: 2023年 5月 15日 20:40 这个做得非常完美。点赞。
谢!我估计是我以前某个时候看过这个证明,今天歪打正着,碰巧看到了这个题。。。
头像
(ヅ)楼主
论坛支柱
论坛支柱
帖子互动: 549
帖子: 11819
注册时间: 2022年 8月 21日 14:20

Re: 斐波那契数

帖子 (ヅ)楼主 »

YWY 写了: 2023年 5月 15日 19:29 Let f(n) denote the n-th Fibonacci number. Let a be a natural number. We are going to prove f(a) | f(na) for all non-negative integer n. (In fact, f(a) | f(na) for all integers (positive or negative), with similar proof.)

Proof. Induct on n. When n = 0 or 1, the claim is clear. Assume the claim holds for n = k, i.e., f(a) | f(ka). Next, we consider integers modulo f(a). Thus, f(ka) = 0. Denote f(ka -1) by x. Then (again, modulo f(a)) we have f(ka+1) = f(ka-1)+f(ka) = f(ka-1) + 0 = f(ka-1) = x = f(1)x. Hence, f(ka+2) = f(ka) + f(ka+1) = 0 + f(ka+1) = x = f(2)x. Similarly, mod f(ka), we see f(ka+3) = f(ka+1) + f(ka+2) = x + x = 2x = f(3)x. Now, it is not hard to see that f(ka + i) = f(i)x, mod f(a), for all i. Thus, mod f(a), we see f((k+1)a) = f(ka + a) = f(a)x = 0, which simply says that f(a) divides f((k+1)a). This concludes the induction process. QED.
赞,这个想法很好

我自己的做法是用通项公式

s = (sqrt(5) + 1) / 2

F(n) = (s^n - (-s)^{-n}) / (2s-1)

如果n = pq,那么F(n) = F(p)*(s^{q-1} + s^{q-2}(-s)^{-1} +... + s(-s)^{-(q-2)} + (-s)^{-(q-2)})

然后利用性质s^i + (-s)^{-i} 为整数
头像
YWY(夜未央)
论坛元老
论坛元老
2023-24年度十大优秀网友
帖子互动: 1340
帖子: 14440
注册时间: 2022年 7月 22日 17:25

Re: 斐波那契数

帖子 YWY(夜未央) »

(ヅ) 写了: 2023年 5月 16日 14:58 赞,这个想法很好

我自己的做法是用通项公式

s = (sqrt(5) + 1) / 2

F(n) = (s^n - (-s)^{-n}) / (2s-1)

如果n = pq,那么F(n) = F(p)*(s^{q-1} + s^{q-2}(-s)^{-1} +... + s(-s)^{-(q-2)} + (-s)^{-(q-2)})

然后利用性质s^i + (-s)^{-i} 为整数
好!
回复

回到 “STEM”