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:
This problem is a bit different from the previous Problem 56220. Easy Sequences 75: Easy as Pisano Pi.
In this problem, aside from n, we are given the exponent e and modular base m, and we are asked to calculate:
>> mod(pisanoPi(n^e),m).

Solution Stats

12 Solutions

3 Solvers

Last Solution submitted on Mar 23, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...