Knowledge

Kunerth's algorithm

Source 📝

1034: 2105:
Adolf Kunerth, "Sitzungsberichte. Academie Der Wissenschaften" vol 78(2), 1878, p 327-338 (for quadratic equation algorithm), pp. 338–346 (for modular quadratic algorithm), available at Ernest Mayr Library, Harvard University
19:
is an algorithm for computing the modular square root of a given number. The algorithm does not require the factorization of the modulus, and relies on modular operations that is often easy when the given number is prime.
2643: 1740: 1916: 2075: 428: 1262: 1166: 135: 665: 576: 320: 1974: 790: 226: 1343: 744: 2014: 1213: 2647: 487: 1581: 905: 2155: 79: 1812: 1096: 1491: 1394: 1609: 1638: 2188: 1515: 834: 1535: 854: 1453: 1427: 524: 924: 159: 2512: 2148: 2380: 1656: 2322: 2141: 1833: 2251: 2428: 2708: 2226: 2086: 2019: 2337: 2375: 2312: 2256: 2219: 2517: 2408: 2327: 2317: 2193: 2345: 337: 2598: 2593: 2522: 2423: 1218: 1117: 2560: 91: 2474: 584: 529: 244: 1927: 2639: 2629: 2588: 2364: 2358: 2332: 2203: 749: 167: 2624: 2565: 1273: 678: 1982: 1181: 2527: 2400: 2246: 2198: 435: 2542: 2433: 1542: 863: 2653: 2583: 38: 2304: 2279: 2208: 2663: 2658: 2550: 2532: 2507: 2469: 2213: 1761: 1045: 1458: 1354: 2703: 2668: 2634: 2555: 2459: 2418: 2413: 2390: 2294: 2499: 2446: 2443: 2284: 2183: 2130:
Adolf Kunerth, "Sitzungsberichte. Academie Der Wissenschaften" vol 82, II, 1880, pp. 342–375
2240: 2233: 1588: 1614: 2619: 2575: 2289: 2266: 2127:
Adolf Kunerth, "Sitzungsberichte. Academie Der Wissenschaften" vol 75, II, 1877, pp. 7–58
1500: 819: 2464: 1520: 839: 2454: 2353: 1432: 1029:{\displaystyle \alpha ^{2}\cdot x^{2}+(2\alpha \beta -N)x+(\beta ^{2}-(y^{2}{\bmod {N}}))} 1406: 503: 2484: 2385: 2370: 2274: 2175: 144: 2697: 2479: 2164: 2489: 326:
One can always make sure that the quadratic can be solved by adjusting the modulus
228:. Most of Kunerth's examples in his original paper solve this equation by having 2133: 2107: 2167: 797:
Having solved the associated quadratic equation we now have the variables
581:
The parameters of the polynomial expansion are quite flexible, in that
1735:{\displaystyle \alpha ^{2}x^{2}+(2\alpha \beta -856)x+(\beta ^{2}-41)} 164:
solve a quadratic equation associated with the modular square root of
1911:{\displaystyle 15\cdot (37\cdot 9^{-1})+(-2)\equiv 345{\pmod {856}}.} 2119:
Leonard Eugene Dickson, "History of Numbers", vol 2, pp. 382–384.
1104:
Obtain the modular square root by the equation. Remember to set
2137: 578:, can have their square roots computed quickly via this method. 2070:{\displaystyle r\equiv {\sqrt {-856}}{\pmod {b\cdot 856+41}}} 1997: 1193: 1011: 764: 541: 59: 1640:. (There may be other pairs of solutions to this equation.) 239:
Expand out the following equation to obtain the quadratic
2684:
indicate that algorithm is for numbers of special forms
667:
can be done, for instance. It is quite easy to choose
423:{\displaystyle ((B\cdot z+r)^{2}+(B\cdot F+N))/B=w^{2}} 2022: 1985: 1930: 1836: 1764: 1659: 1617: 1591: 1545: 1523: 1503: 1461: 1435: 1409: 1357: 1276: 1221: 1184: 1120: 1048: 927: 866: 842: 822: 752: 681: 587: 532: 506: 438: 340: 247: 170: 147: 137:. This step is quite easy, irrespectively of how big 94: 41: 2612: 2574: 2541: 2498: 2442: 2399: 2303: 2265: 2174: 1257:{\displaystyle {\sqrt {-856}}\equiv 13{\pmod {41}}} 1161:{\displaystyle y\equiv \alpha X+\beta {\pmod {N}}.} 2069: 2008: 1968: 1910: 1806: 1734: 1632: 1603: 1575: 1529: 1509: 1485: 1447: 1421: 1388: 1337: 1256: 1207: 1160: 1090: 1028: 899: 848: 828: 784: 738: 659: 570: 518: 481: 422: 314: 220: 153: 130:{\displaystyle r\equiv {\sqrt {\pm N}}{\pmod {B}}} 129: 73: 660:{\displaystyle ((67z+r)^{2}+X\cdot RSA260)/(67y)} 571:{\displaystyle {\sqrt {67}}{\bmod {67F+RSA260}}} 315:{\displaystyle ((B\cdot z+r)^{2}\pm N)/B=w^{2}.} 917:via factorization of the following polynomial: 1969:{\displaystyle 345^{2}\equiv 41{\pmod {856}}.} 2149: 785:{\displaystyle {\sqrt {67y}}{\bmod {RSA260}}} 221:{\displaystyle w^{2}=A\cdot z^{2}+B\cdot z+C} 8: 2108:https://pdfhost.io/v/~OwxzpPNA_KUNERTH_1878 1338:{\displaystyle ((41z+13)^{2}+856)/41=w^{2}} 739:{\displaystyle (r^{2}+X\cdot RSA260)/(67y)} 2156: 2142: 2134: 2009:{\displaystyle {\sqrt {-856}}{\bmod {41}}} 1208:{\displaystyle {\sqrt {41}}{\bmod {856}},} 2039: 2029: 2021: 2000: 1996: 1986: 1984: 1947: 1935: 1929: 1889: 1856: 1835: 1763: 1717: 1674: 1664: 1658: 1616: 1590: 1544: 1522: 1502: 1460: 1434: 1408: 1380: 1356: 1329: 1314: 1299: 1275: 1238: 1222: 1220: 1196: 1192: 1185: 1183: 1139: 1119: 1047: 1014: 1010: 1004: 988: 945: 932: 926: 865: 841: 821: 767: 763: 753: 751: 719: 689: 680: 640: 610: 586: 544: 540: 533: 531: 505: 482:{\displaystyle A\cdot z^{2}+D\cdot z+C+F} 449: 437: 414: 399: 366: 339: 303: 288: 273: 246: 194: 175: 169: 146: 111: 101: 93: 62: 58: 52: 40: 1108:such that the term above is zero. Thus 746:is a square. The modular square root of 2098: 1822:Then obtain the modular square root via 526:is a square. For large moduli, such as 813:in the quadratic is a natural square). 1647:Then factor the following polynomial: 1576:{\displaystyle \alpha ==w(v+w\beta )} 900:{\displaystyle \alpha =w(v+w\beta ),} 232:be a integer square and thus setting 7: 2047: 1955: 1897: 1246: 1147: 119: 74:{\displaystyle B=y^{2}{\bmod {N}},} 14: 2365:Special number field sieve (SNFS) 2359:General number field sieve (GNFS) 2087:Methods of computing square roots 88:find the modular square root of 2040: 1948: 1890: 1807:{\displaystyle (-37+9x)(1+25x)} 1239: 1140: 1091:{\displaystyle (-37+9x)(1+25x)} 112: 2063: 2041: 1959: 1949: 1901: 1891: 1880: 1871: 1865: 1843: 1801: 1786: 1783: 1765: 1729: 1710: 1701: 1683: 1570: 1555: 1486:{\displaystyle v=41\cdot z+13} 1389:{\displaystyle 25+26z+41z^{2}} 1311: 1296: 1280: 1277: 1250: 1240: 1151: 1141: 1085: 1070: 1067: 1049: 1023: 1020: 997: 981: 972: 954: 891: 876: 733: 724: 716: 682: 654: 645: 637: 607: 591: 588: 396: 393: 375: 363: 344: 341: 285: 270: 251: 248: 123: 113: 84:it takes the following steps: 1: 2323:Lenstra elliptic curve (ECM) 1267:Then expand the polynomial: 330:in the above equation. Thus 432:will ensure a quadratic of 2725: 2630:Exponentiation by squaring 2313:Continued fraction (CFRAC) 1604:{\displaystyle \alpha =15} 1403:term is a square, we take 2677: 1633:{\displaystyle \beta =-2} 1040:obtaining an answer like 2709:Cryptographic algorithms 2110:" retrieved="09/09/2024" 1399:Since, in this case the 1112:would be 37/9 or -1/25. 856:the following equation: 2543:Greatest common divisor 1537:the following equation 1510:{\displaystyle \alpha } 829:{\displaystyle \alpha } 2654:Modular exponentiation 2071: 2010: 1970: 1912: 1808: 1736: 1634: 1605: 1577: 1531: 1530:{\displaystyle \beta } 1511: 1487: 1449: 1423: 1390: 1339: 1258: 1209: 1162: 1092: 1030: 901: 850: 849:{\displaystyle \beta } 830: 792:can be taken this way. 786: 740: 661: 572: 520: 483: 424: 316: 222: 155: 131: 75: 2381:Shanks's square forms 2305:Integer factorization 2280:Sieve of Eratosthenes 2077:can be used instead. 2072: 2011: 1971: 1913: 1809: 1737: 1635: 1606: 1585:getting the solution 1578: 1532: 1512: 1488: 1450: 1424: 1391: 1340: 1259: 1210: 1163: 1093: 1031: 902: 851: 831: 787: 741: 662: 573: 521: 484: 425: 317: 223: 156: 132: 76: 2659:Montgomery reduction 2533:Function field sieve 2508:Baby-step giant-step 2354:Quadratic sieve (QS) 2020: 2016:has no answer, then 1983: 1928: 1834: 1762: 1657: 1615: 1589: 1543: 1521: 1501: 1459: 1448:{\displaystyle v=13} 1433: 1407: 1355: 1274: 1219: 1182: 1118: 1046: 925: 864: 840: 820: 816:Solve for variables 750: 679: 585: 530: 504: 496:One can then adjust 436: 338: 245: 168: 145: 92: 39: 2669:Trachtenberg system 2635:Integer square root 2576:Modular square root 2295:Wheel factorization 2247:Quadratic Frobenius 2227:Lucas–Lehmer–Riesel 1422:{\displaystyle w=5} 913:Obtain a value for 519:{\displaystyle C+F} 32:from a given value 17:Kunerth's algorithm 2561:Extended Euclidean 2500:Discrete logarithm 2429:Schönhage–Strassen 2285:Sieve of Pritchard 2067: 2006: 1966: 1908: 1804: 1732: 1630: 1601: 1573: 1527: 1507: 1483: 1445: 1419: 1386: 1335: 1254: 1205: 1158: 1088: 1026: 897: 846: 826: 782: 736: 657: 568: 516: 500:to make sure that 479: 420: 312: 218: 151: 127: 71: 2691: 2690: 2290:Sieve of Sundaram 2037: 1994: 1979:In the case that 1230: 1190: 761: 538: 154:{\displaystyle B} 109: 2716: 2640:Integer relation 2613:Other algorithms 2518:Pollard kangaroo 2409:Ancient Egyptian 2267:Prime-generating 2252:Solovay–Strassen 2165:Number-theoretic 2158: 2151: 2144: 2135: 2120: 2117: 2111: 2103: 2076: 2074: 2073: 2068: 2066: 2038: 2030: 2015: 2013: 2012: 2007: 2005: 2004: 1995: 1987: 1975: 1973: 1972: 1967: 1962: 1940: 1939: 1917: 1915: 1914: 1909: 1904: 1864: 1863: 1813: 1811: 1810: 1805: 1741: 1739: 1738: 1733: 1722: 1721: 1679: 1678: 1669: 1668: 1639: 1637: 1636: 1631: 1610: 1608: 1607: 1602: 1582: 1580: 1579: 1574: 1536: 1534: 1533: 1528: 1516: 1514: 1513: 1508: 1492: 1490: 1489: 1484: 1454: 1452: 1451: 1446: 1428: 1426: 1425: 1420: 1395: 1393: 1392: 1387: 1385: 1384: 1344: 1342: 1341: 1336: 1334: 1333: 1318: 1304: 1303: 1263: 1261: 1260: 1255: 1253: 1231: 1223: 1214: 1212: 1211: 1206: 1201: 1200: 1191: 1186: 1167: 1165: 1164: 1159: 1154: 1097: 1095: 1094: 1089: 1035: 1033: 1032: 1027: 1019: 1018: 1009: 1008: 993: 992: 950: 949: 937: 936: 906: 904: 903: 898: 855: 853: 852: 847: 835: 833: 832: 827: 791: 789: 788: 783: 781: 780: 762: 754: 745: 743: 742: 737: 723: 694: 693: 666: 664: 663: 658: 644: 615: 614: 577: 575: 574: 569: 567: 566: 539: 534: 525: 523: 522: 517: 488: 486: 485: 480: 454: 453: 429: 427: 426: 421: 419: 418: 403: 371: 370: 321: 319: 318: 313: 308: 307: 292: 278: 277: 227: 225: 224: 219: 199: 198: 180: 179: 160: 158: 157: 152: 136: 134: 133: 128: 126: 110: 102: 80: 78: 77: 72: 67: 66: 57: 56: 2724: 2723: 2719: 2718: 2717: 2715: 2714: 2713: 2694: 2693: 2692: 2687: 2673: 2608: 2570: 2537: 2494: 2438: 2395: 2299: 2261: 2234:Proth's theorem 2176:Primality tests 2170: 2162: 2124: 2123: 2118: 2114: 2104: 2100: 2095: 2083: 2018: 2017: 1981: 1980: 1931: 1926: 1925: 1852: 1832: 1831: 1760: 1759: 1713: 1670: 1660: 1655: 1654: 1613: 1612: 1587: 1586: 1541: 1540: 1519: 1518: 1499: 1498: 1457: 1456: 1431: 1430: 1405: 1404: 1376: 1353: 1352: 1325: 1295: 1272: 1271: 1217: 1216: 1180: 1179: 1176: 1116: 1115: 1044: 1043: 1000: 984: 941: 928: 923: 922: 862: 861: 838: 837: 818: 817: 748: 747: 685: 677: 676: 606: 583: 582: 528: 527: 502: 501: 445: 434: 433: 410: 362: 336: 335: 299: 269: 243: 242: 190: 171: 166: 165: 143: 142: 90: 89: 48: 37: 36: 26: 12: 11: 5: 2722: 2720: 2712: 2711: 2706: 2696: 2695: 2689: 2688: 2686: 2685: 2678: 2675: 2674: 2672: 2671: 2666: 2661: 2656: 2651: 2637: 2632: 2627: 2622: 2616: 2614: 2610: 2609: 2607: 2606: 2601: 2596: 2594:Tonelli–Shanks 2591: 2586: 2580: 2578: 2572: 2571: 2569: 2568: 2563: 2558: 2553: 2547: 2545: 2539: 2538: 2536: 2535: 2530: 2528:Index calculus 2525: 2523:Pohlig–Hellman 2520: 2515: 2510: 2504: 2502: 2496: 2495: 2493: 2492: 2487: 2482: 2477: 2475:Newton-Raphson 2472: 2467: 2462: 2457: 2451: 2449: 2440: 2439: 2437: 2436: 2431: 2426: 2421: 2416: 2411: 2405: 2403: 2401:Multiplication 2397: 2396: 2394: 2393: 2388: 2386:Trial division 2383: 2378: 2373: 2371:Rational sieve 2368: 2361: 2356: 2351: 2343: 2335: 2330: 2325: 2320: 2315: 2309: 2307: 2301: 2300: 2298: 2297: 2292: 2287: 2282: 2277: 2275:Sieve of Atkin 2271: 2269: 2263: 2262: 2260: 2259: 2254: 2249: 2244: 2237: 2230: 2223: 2216: 2211: 2206: 2201: 2199:Elliptic curve 2196: 2191: 2186: 2180: 2178: 2172: 2171: 2163: 2161: 2160: 2153: 2146: 2138: 2132: 2131: 2128: 2122: 2121: 2112: 2097: 2096: 2094: 2091: 2090: 2089: 2082: 2079: 2065: 2062: 2059: 2056: 2053: 2050: 2046: 2043: 2036: 2033: 2028: 2025: 2003: 1999: 1993: 1990: 1977: 1976: 1965: 1961: 1958: 1954: 1951: 1946: 1943: 1938: 1934: 1921: 1920: 1919: 1918: 1907: 1903: 1900: 1896: 1893: 1888: 1885: 1882: 1879: 1876: 1873: 1870: 1867: 1862: 1859: 1855: 1851: 1848: 1845: 1842: 1839: 1826: 1825: 1824: 1823: 1817: 1816: 1815: 1814: 1803: 1800: 1797: 1794: 1791: 1788: 1785: 1782: 1779: 1776: 1773: 1770: 1767: 1754: 1753: 1752: 1751: 1745: 1744: 1743: 1742: 1731: 1728: 1725: 1720: 1716: 1712: 1709: 1706: 1703: 1700: 1697: 1694: 1691: 1688: 1685: 1682: 1677: 1673: 1667: 1663: 1649: 1648: 1644: 1643: 1642: 1641: 1629: 1626: 1623: 1620: 1600: 1597: 1594: 1583: 1572: 1569: 1566: 1563: 1560: 1557: 1554: 1551: 1548: 1526: 1506: 1482: 1479: 1476: 1473: 1470: 1467: 1464: 1444: 1441: 1438: 1418: 1415: 1412: 1397: 1396: 1383: 1379: 1375: 1372: 1369: 1366: 1363: 1360: 1346: 1345: 1332: 1328: 1324: 1321: 1317: 1313: 1310: 1307: 1302: 1298: 1294: 1291: 1288: 1285: 1282: 1279: 1252: 1249: 1245: 1242: 1237: 1234: 1229: 1226: 1204: 1199: 1195: 1189: 1175: 1172: 1171: 1170: 1169: 1168: 1157: 1153: 1150: 1146: 1143: 1138: 1135: 1132: 1129: 1126: 1123: 1102: 1101: 1100: 1099: 1098: 1087: 1084: 1081: 1078: 1075: 1072: 1069: 1066: 1063: 1060: 1057: 1054: 1051: 1038: 1037: 1036: 1025: 1022: 1017: 1013: 1007: 1003: 999: 996: 991: 987: 983: 980: 977: 974: 971: 968: 965: 962: 959: 956: 953: 948: 944: 940: 935: 931: 911: 910: 909: 908: 907: 896: 893: 890: 887: 884: 881: 878: 875: 872: 869: 845: 825: 814: 795: 794: 793: 779: 776: 773: 770: 766: 760: 757: 735: 732: 729: 726: 722: 718: 715: 712: 709: 706: 703: 700: 697: 692: 688: 684: 656: 653: 650: 647: 643: 639: 636: 633: 630: 627: 624: 621: 618: 613: 609: 605: 602: 599: 596: 593: 590: 579: 565: 562: 559: 556: 553: 550: 547: 543: 537: 515: 512: 509: 494: 493: 492: 491: 490: 478: 475: 472: 469: 466: 463: 460: 457: 452: 448: 444: 441: 430: 417: 413: 409: 406: 402: 398: 395: 392: 389: 386: 383: 380: 377: 374: 369: 365: 361: 358: 355: 352: 349: 346: 343: 324: 323: 322: 311: 306: 302: 298: 295: 291: 287: 284: 281: 276: 272: 268: 265: 262: 259: 256: 253: 250: 217: 214: 211: 208: 205: 202: 197: 193: 189: 186: 183: 178: 174: 162: 150: 125: 122: 118: 115: 108: 105: 100: 97: 82: 81: 70: 65: 61: 55: 51: 47: 44: 25: 22: 13: 10: 9: 6: 4: 3: 2: 2721: 2710: 2707: 2705: 2702: 2701: 2699: 2683: 2680: 2679: 2676: 2670: 2667: 2665: 2662: 2660: 2657: 2655: 2652: 2649: 2645: 2641: 2638: 2636: 2633: 2631: 2628: 2626: 2623: 2621: 2618: 2617: 2615: 2611: 2605: 2602: 2600: 2597: 2595: 2592: 2590: 2589:Pocklington's 2587: 2585: 2582: 2581: 2579: 2577: 2573: 2567: 2564: 2562: 2559: 2557: 2554: 2552: 2549: 2548: 2546: 2544: 2540: 2534: 2531: 2529: 2526: 2524: 2521: 2519: 2516: 2514: 2511: 2509: 2506: 2505: 2503: 2501: 2497: 2491: 2488: 2486: 2483: 2481: 2478: 2476: 2473: 2471: 2468: 2466: 2463: 2461: 2458: 2456: 2453: 2452: 2450: 2448: 2445: 2441: 2435: 2432: 2430: 2427: 2425: 2422: 2420: 2417: 2415: 2412: 2410: 2407: 2406: 2404: 2402: 2398: 2392: 2389: 2387: 2384: 2382: 2379: 2377: 2374: 2372: 2369: 2367: 2366: 2362: 2360: 2357: 2355: 2352: 2350: 2348: 2344: 2342: 2340: 2336: 2334: 2333:Pollard's rho 2331: 2329: 2326: 2324: 2321: 2319: 2316: 2314: 2311: 2310: 2308: 2306: 2302: 2296: 2293: 2291: 2288: 2286: 2283: 2281: 2278: 2276: 2273: 2272: 2270: 2268: 2264: 2258: 2255: 2253: 2250: 2248: 2245: 2243: 2242: 2238: 2236: 2235: 2231: 2229: 2228: 2224: 2222: 2221: 2217: 2215: 2212: 2210: 2207: 2205: 2202: 2200: 2197: 2195: 2192: 2190: 2187: 2185: 2182: 2181: 2179: 2177: 2173: 2169: 2166: 2159: 2154: 2152: 2147: 2145: 2140: 2139: 2136: 2129: 2126: 2125: 2116: 2113: 2109: 2102: 2099: 2092: 2088: 2085: 2084: 2080: 2078: 2060: 2057: 2054: 2051: 2048: 2044: 2034: 2031: 2026: 2023: 2001: 1991: 1988: 1963: 1956: 1952: 1944: 1941: 1936: 1932: 1923: 1922: 1905: 1898: 1894: 1886: 1883: 1877: 1874: 1868: 1860: 1857: 1853: 1849: 1846: 1840: 1837: 1830: 1829: 1828: 1827: 1821: 1820: 1819: 1818: 1798: 1795: 1792: 1789: 1780: 1777: 1774: 1771: 1768: 1758: 1757: 1756: 1755: 1749: 1748: 1747: 1746: 1726: 1723: 1718: 1714: 1707: 1704: 1698: 1695: 1692: 1689: 1686: 1680: 1675: 1671: 1665: 1661: 1653: 1652: 1651: 1650: 1646: 1645: 1627: 1624: 1621: 1618: 1598: 1595: 1592: 1584: 1567: 1564: 1561: 1558: 1552: 1549: 1546: 1539: 1538: 1524: 1504: 1496: 1495: 1494: 1480: 1477: 1474: 1471: 1468: 1465: 1462: 1455:(in general, 1442: 1439: 1436: 1416: 1413: 1410: 1402: 1381: 1377: 1373: 1370: 1367: 1364: 1361: 1358: 1351: 1350: 1349: 1330: 1326: 1322: 1319: 1315: 1308: 1305: 1300: 1292: 1289: 1286: 1283: 1270: 1269: 1268: 1265: 1247: 1243: 1235: 1232: 1227: 1224: 1215:first obtain 1202: 1197: 1187: 1173: 1155: 1148: 1144: 1136: 1133: 1130: 1127: 1124: 1121: 1114: 1113: 1111: 1107: 1103: 1082: 1079: 1076: 1073: 1064: 1061: 1058: 1055: 1052: 1042: 1041: 1039: 1015: 1005: 1001: 994: 989: 985: 978: 975: 969: 966: 963: 960: 957: 951: 946: 942: 938: 933: 929: 921: 920: 919: 918: 916: 912: 894: 888: 885: 882: 879: 873: 870: 867: 860: 859: 858: 857: 843: 823: 815: 812: 808: 804: 800: 796: 777: 774: 771: 768: 758: 755: 730: 727: 720: 713: 710: 707: 704: 701: 698: 695: 690: 686: 674: 670: 651: 648: 641: 634: 631: 628: 625: 622: 619: 616: 611: 603: 600: 597: 594: 580: 563: 560: 557: 554: 551: 548: 545: 535: 513: 510: 507: 499: 495: 476: 473: 470: 467: 464: 461: 458: 455: 450: 446: 442: 439: 431: 415: 411: 407: 404: 400: 390: 387: 384: 381: 378: 372: 367: 359: 356: 353: 350: 347: 334: 333: 332: 331: 329: 325: 309: 304: 300: 296: 293: 289: 282: 279: 274: 266: 263: 260: 257: 254: 241: 240: 238: 237: 235: 231: 215: 212: 209: 206: 203: 200: 195: 191: 187: 184: 181: 176: 172: 163: 148: 140: 120: 116: 106: 103: 98: 95: 87: 86: 85: 68: 63: 53: 49: 45: 42: 35: 34: 33: 31: 23: 21: 18: 2681: 2603: 2363: 2346: 2338: 2257:Miller–Rabin 2239: 2232: 2225: 2220:Lucas–Lehmer 2218: 2115: 2101: 1978: 1924:Verify that 1429:and compute 1400: 1398: 1347: 1266: 1177: 1109: 1105: 914: 810: 806: 802: 798: 672: 668: 497: 327: 233: 229: 138: 83: 29: 27: 16: 15: 2513:Pollard rho 2470:Goldschmidt 2204:Pocklington 2194:Baillie–PSW 161:is a prime. 2704:Algorithms 2698:Categories 2625:Cornacchia 2620:Chakravala 2168:algorithms 2093:References 1497:Solve for 1178:To obtain 675:such that 2599:Berlekamp 2556:Euclidean 2444:Euclidean 2424:Toom–Cook 2419:Karatsuba 2052:⋅ 2032:− 2027:≡ 1989:− 1942:≡ 1884:≡ 1875:− 1858:− 1850:⋅ 1841:⋅ 1769:− 1750:obtaining 1724:− 1715:β 1696:− 1693:β 1690:α 1662:α 1625:− 1619:β 1593:α 1568:β 1547:α 1525:β 1505:α 1472:⋅ 1233:≡ 1225:− 1137:β 1128:α 1125:≡ 1053:− 995:− 986:β 967:− 964:β 961:α 939:⋅ 930:α 889:β 868:α 844:β 824:α 702:⋅ 623:⋅ 462:⋅ 443:⋅ 382:⋅ 351:⋅ 280:± 258:⋅ 236:to zero. 207:⋅ 188:⋅ 104:± 99:≡ 24:Algorithm 2566:Lehmer's 2460:Chunking 2447:division 2376:Fermat's 2081:See also 801:and set 28:To find 2682:Italics 2604:Kunerth 2584:Cipolla 2465:Fourier 2434:FĂŒrer's 2328:Euler's 2318:Dixon's 2241:PĂ©pin's 1174:Example 2664:Schoof 2551:Binary 2455:Binary 2391:Shor's 2209:Fermat 2485:Short 2214:Lucas 2106:url=" 1348:into 141:when 2480:Long 2414:Long 1611:and 1517:and 836:and 809:(if 671:and 2644:LLL 2490:SRT 2349:+ 1 2341:− 1 2189:APR 2184:AKS 2055:856 2045:mod 2035:856 1998:mod 1992:856 1957:856 1953:mod 1933:345 1899:856 1895:mod 1887:345 1699:856 1493:). 1309:856 1244:mod 1228:856 1198:856 1194:mod 1145:mod 1012:mod 778:260 765:mod 714:260 635:260 564:260 542:mod 117:mod 60:mod 2700:: 2648:KZ 2646:; 2061:41 2002:41 1945:41 1847:37 1838:15 1796:25 1772:37 1727:41 1599:15 1550:== 1481:13 1469:41 1443:13 1374:41 1365:26 1359:25 1320:41 1293:13 1284:41 1264:. 1248:41 1236:13 1188:41 1080:25 1056:37 805:= 756:67 728:67 649:67 595:67 546:67 536:67 2650:) 2642:( 2347:p 2339:p 2157:e 2150:t 2143:v 2064:) 2058:+ 2049:b 2042:( 2024:r 1964:. 1960:) 1950:( 1937:2 1906:. 1902:) 1892:( 1881:) 1878:2 1872:( 1869:+ 1866:) 1861:1 1854:9 1844:( 1802:) 1799:x 1793:+ 1790:1 1787:( 1784:) 1781:x 1778:9 1775:+ 1766:( 1730:) 1719:2 1711:( 1708:+ 1705:x 1702:) 1687:2 1684:( 1681:+ 1676:2 1672:x 1666:2 1628:2 1622:= 1596:= 1571:) 1565:w 1562:+ 1559:v 1556:( 1553:w 1478:+ 1475:z 1466:= 1463:v 1440:= 1437:v 1417:5 1414:= 1411:w 1401:C 1382:2 1378:z 1371:+ 1368:z 1362:+ 1331:2 1327:w 1323:= 1316:/ 1312:) 1306:+ 1301:2 1297:) 1290:+ 1287:z 1281:( 1278:( 1251:) 1241:( 1203:, 1156:. 1152:) 1149:N 1142:( 1134:+ 1131:X 1122:y 1110:X 1106:X 1086:) 1083:x 1077:+ 1074:1 1071:( 1068:) 1065:x 1062:9 1059:+ 1050:( 1024:) 1021:) 1016:N 1006:2 1002:y 998:( 990:2 982:( 979:+ 976:x 973:) 970:N 958:2 955:( 952:+ 947:2 943:x 934:2 915:X 895:, 892:) 886:w 883:+ 880:v 877:( 874:w 871:= 811:C 807:r 803:v 799:w 775:A 772:S 769:R 759:y 734:) 731:y 725:( 721:/ 717:) 711:A 708:S 705:R 699:X 696:+ 691:2 687:r 683:( 673:Y 669:X 655:) 652:y 646:( 642:/ 638:) 632:A 629:S 626:R 620:X 617:+ 612:2 608:) 604:r 601:+ 598:z 592:( 589:( 561:A 558:S 555:R 552:+ 549:F 514:F 511:+ 508:C 498:F 489:. 477:F 474:+ 471:C 468:+ 465:z 459:D 456:+ 451:2 447:z 440:A 416:2 412:w 408:= 405:B 401:/ 397:) 394:) 391:N 388:+ 385:F 379:B 376:( 373:+ 368:2 364:) 360:r 357:+ 354:z 348:B 345:( 342:( 328:N 310:. 305:2 301:w 297:= 294:B 290:/ 286:) 283:N 275:2 271:) 267:r 264:+ 261:z 255:B 252:( 249:( 234:z 230:C 216:C 213:+ 210:z 204:B 201:+ 196:2 192:z 185:A 182:= 177:2 173:w 149:B 139:N 124:) 121:B 114:( 107:N 96:r 69:, 64:N 54:2 50:y 46:= 43:B 30:y

Index

Methods of computing square roots
https://pdfhost.io/v/~OwxzpPNA_KUNERTH_1878
v
t
e
Number-theoretic
algorithms
Primality tests
AKS
APR
Baillie–PSW
Elliptic curve
Pocklington
Fermat
Lucas
Lucas–Lehmer
Lucas–Lehmer–Riesel
Proth's theorem
PĂ©pin's
Quadratic Frobenius
Solovay–Strassen
Miller–Rabin
Prime-generating
Sieve of Atkin
Sieve of Eratosthenes
Sieve of Pritchard
Sieve of Sundaram
Wheel factorization
Integer factorization
Continued fraction (CFRAC)

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.

↑