Lucas-Lehmer test: Difference between revisions

→‎{{header|C++}}: As far as I got after 36 hours of computation
(C++ version)
(→‎{{header|C++}}: As far as I got after 36 hours of computation)
Line 199:
 
Output: (Incomplete; It takes a long time.)
M2 M3 M5 M7 M13 M17 M19 M31 M61 M89 M107 M127 M521 M607 M1279 M2203 M2281 M3217 M4253 M4423 M9689 M9941 M11213 M19937 M21701 M23209
 
=={{header|Java}}==
We use arbitrary-precision integers in order to be able to test any arbitrary prime.