Pisano period: Difference between revisions

→‎{{header|Go}}: 'pisanoPrime' now uses the conjectured equation: π(p^k) == p^(k-1)* π(p)
m (→‎{{header|Phix}}: 2->1(..180), removed timings)
(→‎{{header|Go}}: 'pisanoPrime' now uses the conjectured equation: π(p^k) == p^(k-1)* π(p))
Line 218:
return 0 // can't do this one
}
return pisanoPeriod(ipow(p, k-1) * pisanoPeriod(p)
}
 
9,488

edits