Share to: share facebook share twitter share wa share telegram print page

Kunerth's algorithm

Kunerth's algorithm is an algorithm for computing the modular square root of a given number.[1][2] 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.

Algorithm

To find y from a given value

it takes the following steps:

  1. find the modular square root of . This step is quite easy, irrespectively of how big N when is a prime.
  2. solve a quadratic equation associated with the modular square root of . Most of Kunerth's examples in his original paper solve this equation by having C be a integer square and thus setting z to zero.
    Expand out the following equation to obtain the quadratic
    One can always make sure that the quadratic can be solved by adjusting the modulus N in the above equation. Thus
    will ensure a quadratic of .
    One can then adjust F to make sure that is a square. For large moduli, such as , can have their square roots computed quickly via this method.
    The parameters of the polynomial expansion are quite flexible, in that can be done, for instance. It is quite easy to choose X and Y such that is a square. The modular square root of can be taken this way.
  3. Having solved the associated quadratic equation we now have the variables w and set v = r (if C in the quadratic is a natural square).
  4. Solve for variables and the following equation:
  5. Obtain a value for X via factorization of the following polynomial:
    obtaining an answer like
  6. Obtain the modular square root by the equation. Remember to set X such that the term above is zero. Thus X would be 37/9 or -1/25.

Example

To obtain first obtain .

Then expand the polynomial:

into

Since, in this case the C term is a square, we take and compute (in general, ).

Solve for and the following equation
getting the solution and . (There may be other pairs of solutions to this equation.)
Then factor the following polynomial:
obtaining
Then obtain the modular square root via
Verify that

In the case that has no answer, then can be used instead.

See also

References

  1. ^ 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
  2. ^ Leonard Eugene Dickson, "History of Numbers", vol 2, pp. 382–384.
  • Adolf Kunerth, "Sitzungsberichte. Academie Der Wissenschaften" vol 75, II, 1877, pp. 7–58
  • Adolf Kunerth, "Sitzungsberichte. Academie Der Wissenschaften" vol 82, II, 1880, pp. 342–375

Read other articles:

Decorative wreath or cord, used at festive occasions For other uses, see Garland (disambiguation). This article may be in need of reorganization to comply with Wikipedia's layout guidelines. Please help by editing the article to make improvements to the overall structure. (December 2018) (Learn how and when to remove this template message) A garland is a decorative braid, knot or wreath of flowers, leaves, or other material. Garlands can be worn on the head or around the neck, hung on an inanima…

Republic of China government ministry Ministry of the Interior內政部Nèizhèng Bù (Mandarin)Nui-chṳn Phu (Hakka)Logo of the Ministry of the InteriorSeal of the Ministry of the Interior(內政部印)Agency overviewJurisdictionGovernment of the Republic of ChinaHeadquartersZhongzheng, TaipeiMinister responsibleLin Yu-chang, MinisterAgency executivesHua Ching-chun, UndersecretaryWu Ronghui, UndersecretaryHuang Junyi, Director SecretaryChild agenciesArchitecture and Building Research Institute…

Premier of New Brunswick from 1987 to 1997 For other people named Frank McKenna, see Frank McKenna (disambiguation). This biography of a living person needs additional citations for verification. Please help by adding reliable sources. Contentious material about living persons that is unsourced or poorly sourced must be removed immediately from the article and its talk page, especially if potentially libelous.Find sources: Frank McKenna – news · newspapers · books…

Lompong sagu merupakan warisan kuliner tradisional yang sangat legendaris bagi masyarakat Aceh , khususnya Wilayah Singkil (Aceh Singkil dan Kota Subulussalam) Lompong sagu Untuk memasak panganan ini terbilang sangat mudah, bahan utamanya dari tepung sagu yang diaduk bersama pisang kepok/sitawar/khaja, yang telah dipotong kecil kecil lalu dicampur dengan kelapa yang sudah diparut, kemudian campur dengan gula dan garam dan diaduk sampai rata seterusnya dibalut dengan daun pisang. Lompong sagu kem…

De veroordeling van Lodewijk XVI door de Conventie, in vergadering in de voormalige rijschool De girondijnen of brissotins waren een gematigd linkse politieke groepering of factie tijdens de eerste fase van de Franse Revolutie. De girondijnen vertegenwoordigden een stroming van personen met diverse overtuigingen, onder hen bevonden zich Jacques Pierre Brissot, Madame Roland en haar man Jean-Marie Roland, Charles Barbaroux, François Buzot, Théroigne de Méricourt, Olympe de Gouges en Charlotte …

Село Віфаніяаль-Ейзарія Поховальне місце Лазаря в аль-Ейзарії Координати 31°46′17″ пн. ш. 35°15′40″ сх. д.H G O Країна ІзраїльІзраїльСтатус спірна територіяРегіон Західний берег річки ЙорданРайон провінція «Єрусалим», Оливкова гораГолова Ісам ФарунПерша згадка Біб

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (أكتوبر 2019) ماراكالاجونيس    علم شعار   الإحداثيات 39°17′10″N 9°13′44″E / 39.286217°N 9.2288589°E / 39.286217; 9.2288589  [1] تقسيم إداري  البلد إيطاليا[2]  خ

Lambang Uni Emirat ArabDetailPemangkuUni Emirat ArabDigunakan sejak1973 (dimodifikasi tahun 2008)PerisaiBendera UEA dan tujuh bintang federasiMottoArab: شعار الإمارات العربية المتحدة (Uni Emirat Arab)Versi awalPenggunaan1973–2008 Lambang Uni Emirat Arab[1] (Arab: شعار الإمارات العربية المتحدة) diadopsi pada tahun 1973 dan kemudian dimodifikasi pada 22 Maret 2008. Lambang ini menampilkan elang Quraisy dengan bulatan bergambar bende…

Charlie Chaplin Imię i nazwisko Charles Spencer Chaplin Data i miejsce urodzenia 16 kwietnia 1889 Londyn Data i miejsce śmierci 25 grudnia 1977 Vevey Zawód aktor, reżyser, producent filmowy, scenarzysta, kompozytor Współmałżonek 1. Mildred Harris (23 października 1918 – 19 listopada 1920)2. Lita Grey (26 listopada 1924 – sierpień 1927)3. Paulette Goddard (1936 – 1942, rozwód)4. Oona O’Neill (16 czerwca 1943 – do śmierci w 1977) Lata aktywności 1913–1977 Odznacz…

Aubrey de Vere Aubrey de Vere, Earl ke-20 Oxford KG PC (28 Februari 1627 – 12 Maret 1703) merupakan seorang Royalis selama Perang Saudara Inggris. Ia adalah putra Robert de Vere dan istrinya Beatrix van Hemmend.[1] Ia belajar di Friesland, Belanda setelah ayahandanya terluka parah dalam Pengepungan Maastricht pada 1632, ketika de Vere hanya berusia enam tahun; tahun-tahun kemudian ia bergabung dengan Resimen Inggris bersama Belanda. Catatan ^ White-Spunner, p. 44. In Horse Guards …

Jamaican-American sprinter Sanya Richards-RossRichards-Ross at the 2012 Summer OlympicsPersonal informationBorn (1985-02-26) February 26, 1985 (age 38)Kingston, JamaicaHeight5 ft 8 in (1.73 m)Weight137 lb (62 kg)SportCountryUnited StatesSportTrack and fieldEvent400 mAchievements and titlesPersonal bests400m: 48.70 (2006, NR) Medal record Women's athletics Representing  United States Event 1st 2nd 3rd Olympic Games 4 0 1 World Championships 5 2 0 World Indoor Ch…

American film producer Jane RosenthalRosenthal at the 2012 Tribeca Film FestivalBorn (1956-09-21) September 21, 1956 (age 67)[1]Denver, Colorado, US[2]OccupationFilm producerYears active1992–presentSpouse Craig Hatkoff ​ ​(m. 1995; div. 2014)​Children2 Jane Rosenthal (born September 21, 1956) is an American film producer.[3][4] She is co-founder, CEO, and executive chair of Tribeca Enterprises, a media co…

British historian and Hispanist (1930–2022) John H. Elliott redirects here. For the biblical scholar, see John H. Elliott (biblical scholar). SirJohn H. ElliottFBABornJohn Huxtable Elliott(1930-06-23)23 June 1930Reading, Berkshire, EnglandDied10 March 2022(2022-03-10) (aged 91)Oxford, Oxfordshire, EnglandOther namesJ. H. ElliottSpouse Oonah Sophia Butler ​(m. 1958)​Academic backgroundAlma materTrinity College, CambridgeThesisCastile and Catalonia Dur…

St Albans Hockey ClubSt Albans HC at OaklandsFounded1898; 125 years ago (1898)Home groundOaklands College, Hatfield Road, St AlbansLeagueWomen's England Hockey League Men's England Hockey LeagueWebsitewww.stalbanshc.co.uk St Albans Hockey Club is a field hockey club that is based at Oaklands College in Hatfield Road, St Albans, Hertfordshire. The club was founded in 1898.[1] The club runs twelve men's teams [2] with the first XI playing in the Men's England Hock…

French visual effects and animation company Mikros AnimationIndustryVisual Effects AnimationPredecessorTechnicolor Animation ProductionsTechnicolor AnimationFounded19 November 1985; 38 years ago (1985-11-19)FounderMaurice ProstHeadquarters8-10 rue du Renard 75004 Paris, FranceArea servedWorldwideKey peopleMaurice Prost (founder), Gilles Gaillard (Chairman and Chief Executive Officer), Julien Meesters (current CEO)Number of employees170ParentTechnicolor Creative Studios[1 …

Ronald MarryottBornFebruary 18, 1934Eddystone, Pennsylvania, U.S.DiedJune 4, 2005(2005-06-04) (aged 71)Maryland, U.S.AllegianceUnited States of AmericaService/branchUnited States NavyYears of service1953–1990RankRear AdmiralCommands heldSuperintendent of the United States Naval AcademyPresident of the Naval War CollegeIceland Defense ForceNAS Moffett FieldVP-9Battles/warsVietnam WarCold WarAwardsNavy Distinguished Service MedalDefense Superior Service MedalLegion of Merit (2)Meritori…

280–275 BC war between the Roman Republic and Pyrrhus This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article relies excessively on references to primary sources. Please improve this article by adding secondary or tertiary sources. Find sources: Pyrrhic War – news · newspapers · books · scholar · JSTOR (January 2019) (Learn how and when to remo…

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Theni Allinagaram – news · newspapers · books · scholar · JSTOR (September 2017) (Learn how and when to remove this template message) Town in Tamil Nadu, IndiaTheni Allinagaram TheniTownFrom top: Theni view from forest road, Theni view from mary matha schoolNickna…

For other uses, see Bosnia (disambiguation). Region in Bosnia and HerzegovinaBosnia BosnaБоснаRegionApproximate borders between two modern-day regions of Bosnia and Herzegovina - Bosnia (marked dark brown) and Herzegovina (marked light brown)Coordinates: 44°10′N 17°47′E / 44.16°N 17.78°E / 44.16; 17.78CountryBosnia and HerzegovinaLargest citiesSarajevo, Banja LukaArea • Total39,021 km2 (15,066 sq mi)Population (2013)c. 3 millio…

КоролевствоКоролевство Дублинирл. Dubh Linn древненорв. Dyflin Максимальная территория королевства Дублин (розовый цвет) и других норвежских поселений (зелёный цвет) в Ирландии ←   → 839 — 1171 Столица Дублин Язык(и) древнесеверный древне- и среднеирландский Религия язычес…

Kembali kehalaman sebelumnya

Lokasi Pengunjung: 13.58.7.43