Talk:Carmichael 3 strong pseudoprimes: Difference between revisions

m
→‎Integer arithmetic: Still puzzled over non-rendering for non-Firefox. There is no "space" in the formula's specification. Other web pages use separately-created image files.
m (→‎Integer arithmetic: Still puzzled over non-rendering for non-Firefox. There is no "space" in the formula's specification. Other web pages use separately-created image files.)
Line 4:
or, in mathematical notation (possibly not rendered),
:<math>\frac{1}{\sqrt{5}}\left[\left(\frac{1 + \sqrt{5}}{2}\right)^n - \left(\frac{1 - \sqrt{5}}{2}\right)^n\right]</math>
::All the divisiondivisions in this task should result in an integer value. So the best solution is probably to throw/raise an exception if it doesn't.--[[User:Nigel Galloway|Nigel Galloway]] ([[User talk:Nigel Galloway|talk]]) 12:29, 24 October 2017 (UTC)
 
==What model MOD is your MOD?==
1,220

edits