Talk:Lucas-Lehmer test: Difference between revisions
Content added Content deleted
(Math in introduction) |
(→Math in introduction: note about viewer-dependency) |
||
Line 330: | Line 330: | ||
==Math in introduction== |
==Math in introduction== |
||
Here is the page's introduction written with math markup and so proper superscripts; but tex support is currently broken, so I haven't put it in yet. |
Here is the page's introduction written with math markup and so proper superscripts; but tex support is currently broken (at least for my [[Special:Preferences#prefsection-2|viewing preferences]]), so I haven't put it in yet. Once fixed, copy it in (without the indent). --[[User:Kevin Reid|Kevin Reid]] 17:15, 28 July 2009 (UTC) |
||
: Lucas-Lehmer Test: for <math>p</math> a prime, the Mersenne number <math>2^p-1</math> is prime if and only if <math>2^p-1</math> divides <math>S(p-1)</math> where <math>S(n+1)=S(n)^2-2</math>, and <math>S(1)=4</math>. |
: Lucas-Lehmer Test: for <math>p</math> a prime, the Mersenne number <math>2^p-1</math> is prime if and only if <math>2^p-1</math> divides <math>S(p-1)</math> where <math>S(n+1)=S(n)^2-2</math>, and <math>S(1)=4</math>. |