Talk:Carmichael 3 strong pseudoprimes: Difference between revisions

Content added Content deleted
Line 35: Line 35:
61 181 5521 60957361</pre>
61 181 5521 60957361</pre>
Which turns out to be when the two terms have remainders of one.
Which turns out to be when the two terms have remainders of one.
:-p squared means -p*p. -p**2 or -p^2 may depend on the language's operator precedence. Use brackets if in doubt. mod of a negative numbers have caused me more problems than I anticipated. We have discussed them on another task to which I would link if I could find it. We concluded that C defined it as a remainder function and many languages have followed suit. It is used here to mean the mathematical modulus function. I think this is another solution to the solutions suggested somewhere else on RC. I promise than any further task using mod of a negative number will include a health warning!--[[User:Nigel Galloway|Nigel Galloway]] ([[User talk:Nigel Galloway|talk]]) 11:51, 23 October 2017 (UTC)


==Formula in Fortran contribution invisible to most browsers==
==Formula in Fortran contribution invisible to most browsers==