Pisano period , of an integer n, is the period in which the sequence of Fibonacci numbers modulo n repeats. For example it is not hard to show that , and are 3, 8 and 6, respectively:
In this problem, we are asked to simply output the Pisano period of given integer n.

Solution Stats

42 Solutions

13 Solvers

Last Solution submitted on Dec 01, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...