Easy Sequences 75: Easy as Pisano Pi - MATLAB Cody - MATLAB Central

Problem 56220. Easy Sequences 75: Easy as Pisano Pi

Difficulty:Rate
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

41.38% Correct | 58.62% Incorrect
Last Solution submitted on Dec 17, 2024

Problem Comments

Solution Comments

Show comments
MATLAB Central 2024 In Review
...
Let's celebrate what made 2024 memorable! Together, we made big impacts, hosted...

Problem Recent Solvers9

Suggested Problems

More from this Author116

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page