0%

Problem 853


Problem 853


Pisano Periods 1

For every positive integer n the Fibonacci sequence modulo n is periodic. The period depends on the value of n. This period is called the Pisano period for n, often shortened to π(n).

There are three values of n for which π(n) equals 18: 19, 38 and 76. The sum of those smaller than 50 is 57.

Find the sum of the values of n smaller than 1 000 000 000 for which π(n) equals 120.


皮萨诺周期(一)

对任意正整数n,斐波那契数列对n取余的结果都是周期数列,其周期取决于n的取值。这一周期被称为n皮萨诺周期,通常记为π(n)

有三个n满足π(n)等于18,分别是193876,其中小于50的两个之和为57

求所有小于1 000 000 000且满足π(n)等于120n之和。


Gitalking ...