Pisano period: Difference between revisions
m
no edit summary
mNo edit summary |
|||
Line 24:
pisanoPrime(p,k) should return the Pisano period of p<sup>k</sup> where p is prime and k is a positive integer.
pisano(m) should use pisanoPrime to return the Pisano period of m where m is a
Print pisanoPrime(p,2) for every prime lower than 15.
|