CINXE.COM

Integer factorization - Wikipedia

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Integer factorization - Wikipedia</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )enwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy", "wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"81f3f2a9-da72-48f6-b605-9f91789dfc4d","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Integer_factorization","wgTitle":"Integer factorization","wgCurRevisionId":1243964561,"wgRevisionId":1243964561,"wgArticleId":15491,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Articles with short description","Short description matches Wikidata","Articles containing potentially dated statements from 2022","All articles containing potentially dated statements","Integer factorization algorithms","Computational hardness assumptions","Unsolved problems in computer science","Factorization"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Integer_factorization","wgRelevantArticleId":15491 ,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgRedirectedFrom":"Prime_factorization","wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":false,"wgFlaggedRevsParams":{"tags":{"status":{"levels":1}}},"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":30000,"wgInternalRedirectTargetUrl":"/wiki/Integer_factorization","wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q4846249","wgCheckUserClientHintsHeadersJsApi":["brands" ,"architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready","ext.math.styles":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","jquery.makeCollapsible.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["mediawiki.action.view.redirect","ext.cite.ux-enhancements","mediawiki.page.media","site","mediawiki.page.ready","jquery.makeCollapsible","mediawiki.toc","skins.vector.js", "ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.ReferenceTooltips","ext.gadget.switcher","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions","wikibase.client.vector-2022","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=ext.cite.styles%7Cext.math.styles%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cjquery.makeCollapsible.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=en&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Integer factorization - Wikipedia"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//en.m.wikipedia.org/wiki/Integer_factorization"> <link rel="alternate" type="application/x-wiki" title="Edit this page" href="/w/index.php?title=Integer_factorization&amp;action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (en)"> <link rel="EditURI" type="application/rsd+xml" href="//en.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://en.wikipedia.org/wiki/Integer_factorization"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en"> <link rel="alternate" type="application/atom+xml" title="Wikipedia Atom feed" href="/w/index.php?title=Special:RecentChanges&amp;feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-Integer_factorization rootpage-Integer_factorization skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Jump to content</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Main menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Main menu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Main menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-contents" class="mw-list-item"><a href="/wiki/Wikipedia:Contents" title="Guides to browsing Wikipedia"><span>Contents</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:Current_events" title="Articles related to current events"><span>Current events</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Visit a randomly selected article [x]" accesskey="x"><span>Random article</span></a></li><li id="n-aboutsite" class="mw-list-item"><a href="/wiki/Wikipedia:About" title="Learn about Wikipedia and how it works"><span>About Wikipedia</span></a></li><li id="n-contactpage" class="mw-list-item"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us" title="How to contact Wikipedia"><span>Contact us</span></a></li> </ul> </div> </div> <div id="p-interaction" class="vector-menu mw-portlet mw-portlet-interaction" > <div class="vector-menu-heading"> Contribute </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Help:Contents" title="Guidance on how to use and edit Wikipedia"><span>Help</span></a></li><li id="n-introduction" class="mw-list-item"><a href="/wiki/Help:Introduction" title="Learn how to edit Wikipedia"><span>Learn to edit</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:Community_portal" title="The hub for editors"><span>Community portal</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes to Wikipedia [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_upload_wizard" title="Add images or other media for use on Wikipedia"><span>Upload file</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Main_Page" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="The Free Encyclopedia" src="/static/images/mobile/copyright/wikipedia-tagline-en.svg" width="117" height="13" style="width: 7.3125em; height: 0.8125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:Search" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Search Wikipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Search Wikipedia" aria-label="Search Wikipedia" autocapitalize="sentences" title="Search Wikipedia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page&#039;s font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Appearance" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Appearance</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_en.wikipedia.org&amp;uselang=en" class=""><span>Donate</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:CreateAccount&amp;returnto=Integer+factorization" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Create account</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:UserLogin&amp;returnto=Integer+factorization" title="You&#039;re encouraged to log in; however, it&#039;s not mandatory. [o]" accesskey="o" class=""><span>Log in</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Log in and more options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personal tools" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_en.wikipedia.org&amp;uselang=en"><span>Donate</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&amp;returnto=Integer+factorization" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&amp;returnto=Integer+factorization" title="You&#039;re encouraged to log in; however, it&#039;s not mandatory. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages for logged out editors <a href="/wiki/Help:Introduction" aria-label="Learn more about editing"><span>learn more</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Contents" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contents</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">hide</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">(Top)</div> </a> </li> <li id="toc-Prime_decomposition" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Prime_decomposition"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Prime decomposition</span> </div> </a> <ul id="toc-Prime_decomposition-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Current_state_of_the_art" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Current_state_of_the_art"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Current state of the art</span> </div> </a> <button aria-controls="toc-Current_state_of_the_art-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Current state of the art subsection</span> </button> <ul id="toc-Current_state_of_the_art-sublist" class="vector-toc-list"> <li id="toc-Time_complexity" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Time_complexity"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.1</span> <span>Time complexity</span> </div> </a> <ul id="toc-Time_complexity-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Factoring_algorithms" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Factoring_algorithms"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Factoring algorithms</span> </div> </a> <button aria-controls="toc-Factoring_algorithms-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Factoring algorithms subsection</span> </button> <ul id="toc-Factoring_algorithms-sublist" class="vector-toc-list"> <li id="toc-Special-purpose" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Special-purpose"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1</span> <span>Special-purpose</span> </div> </a> <ul id="toc-Special-purpose-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-General-purpose" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#General-purpose"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.2</span> <span>General-purpose</span> </div> </a> <ul id="toc-General-purpose-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Other_notable_algorithms" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Other_notable_algorithms"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.3</span> <span>Other notable algorithms</span> </div> </a> <ul id="toc-Other_notable_algorithms-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Heuristic_running_time" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Heuristic_running_time"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Heuristic running time</span> </div> </a> <ul id="toc-Heuristic_running_time-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Rigorous_running_time" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Rigorous_running_time"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Rigorous running time</span> </div> </a> <button aria-controls="toc-Rigorous_running_time-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Rigorous running time subsection</span> </button> <ul id="toc-Rigorous_running_time-sublist" class="vector-toc-list"> <li id="toc-Schnorr–Seysen–Lenstra_algorithm" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Schnorr–Seysen–Lenstra_algorithm"> <div class="vector-toc-text"> <span class="vector-toc-numb">5.1</span> <span>Schnorr–Seysen–Lenstra algorithm</span> </div> </a> <ul id="toc-Schnorr–Seysen–Lenstra_algorithm-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Expected_running_time" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Expected_running_time"> <div class="vector-toc-text"> <span class="vector-toc-numb">5.2</span> <span>Expected running time</span> </div> </a> <ul id="toc-Expected_running_time-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-See_also" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#See_also"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>See also</span> </div> </a> <ul id="toc-See_also-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Notes" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Notes"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>Notes</span> </div> </a> <ul id="toc-Notes-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-References" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#References"> <div class="vector-toc-text"> <span class="vector-toc-numb">8</span> <span>References</span> </div> </a> <ul id="toc-References-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-External_links" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#External_links"> <div class="vector-toc-text"> <span class="vector-toc-numb">9</span> <span>External links</span> </div> </a> <ul id="toc-External_links-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Contents" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Toggle the table of contents" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Toggle the table of contents</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">Integer factorization</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Go to an article in another language. Available in 33 languages" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-33" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">33 languages</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-als mw-list-item"><a href="https://als.wikipedia.org/wiki/Primfaktorzerlegung" title="Primfaktorzerlegung – Alemannic" lang="gsw" hreflang="gsw" data-title="Primfaktorzerlegung" data-language-autonym="Alemannisch" data-language-local-name="Alemannic" class="interlanguage-link-target"><span>Alemannisch</span></a></li><li class="interlanguage-link interwiki-ar mw-list-item"><a href="https://ar.wikipedia.org/wiki/%D8%AA%D8%AD%D9%84%D9%8A%D9%84_%D8%B9%D8%AF%D8%AF_%D8%B5%D8%AD%D9%8A%D8%AD_%D8%A5%D9%84%D9%89_%D8%B9%D9%88%D8%A7%D9%85%D9%84" title="تحليل عدد صحيح إلى عوامل – Arabic" lang="ar" hreflang="ar" data-title="تحليل عدد صحيح إلى عوامل" data-language-autonym="العربية" data-language-local-name="Arabic" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/Factoritzaci%C3%B3_dels_enters" title="Factorització dels enters – Catalan" lang="ca" hreflang="ca" data-title="Factorització dels enters" data-language-autonym="Català" data-language-local-name="Catalan" class="interlanguage-link-target"><span>Català</span></a></li><li class="interlanguage-link interwiki-cs mw-list-item"><a href="https://cs.wikipedia.org/wiki/Prvo%C4%8D%C3%ADseln%C3%BD_rozklad" title="Prvočíselný rozklad – Czech" lang="cs" hreflang="cs" data-title="Prvočíselný rozklad" data-language-autonym="Čeština" data-language-local-name="Czech" class="interlanguage-link-target"><span>Čeština</span></a></li><li class="interlanguage-link interwiki-da mw-list-item"><a href="https://da.wikipedia.org/wiki/Primtalsopl%C3%B8sning" title="Primtalsopløsning – Danish" lang="da" hreflang="da" data-title="Primtalsopløsning" data-language-autonym="Dansk" data-language-local-name="Danish" class="interlanguage-link-target"><span>Dansk</span></a></li><li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/Primfaktorzerlegung" title="Primfaktorzerlegung – German" lang="de" hreflang="de" data-title="Primfaktorzerlegung" data-language-autonym="Deutsch" data-language-local-name="German" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/Factorizaci%C3%B3n_de_enteros" title="Factorización de enteros – Spanish" lang="es" hreflang="es" data-title="Factorización de enteros" data-language-autonym="Español" data-language-local-name="Spanish" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-eo mw-list-item"><a href="https://eo.wikipedia.org/wiki/Faktorado_de_entjero" title="Faktorado de entjero – Esperanto" lang="eo" hreflang="eo" data-title="Faktorado de entjero" data-language-autonym="Esperanto" data-language-local-name="Esperanto" class="interlanguage-link-target"><span>Esperanto</span></a></li><li class="interlanguage-link interwiki-eu mw-list-item"><a href="https://eu.wikipedia.org/wiki/Zenbaki_osoen_faktorizazio" title="Zenbaki osoen faktorizazio – Basque" lang="eu" hreflang="eu" data-title="Zenbaki osoen faktorizazio" data-language-autonym="Euskara" data-language-local-name="Basque" class="interlanguage-link-target"><span>Euskara</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%D8%AA%D8%AC%D8%B2%DB%8C%D9%87_%D8%A7%D8%B9%D8%AF%D8%A7%D8%AF_%D8%B7%D8%A8%DB%8C%D8%B9%DB%8C" title="تجزیه اعداد طبیعی – Persian" lang="fa" hreflang="fa" data-title="تجزیه اعداد طبیعی" data-language-autonym="فارسی" data-language-local-name="Persian" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/D%C3%A9composition_en_produit_de_facteurs_premiers" title="Décomposition en produit de facteurs premiers – French" lang="fr" hreflang="fr" data-title="Décomposition en produit de facteurs premiers" data-language-autonym="Français" data-language-local-name="French" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-inh mw-list-item"><a href="https://inh.wikipedia.org/wiki/%D0%91%D3%80%D0%B0%D1%80%D1%87%D1%87%D0%B0%D1%87%D0%B0_%D1%82%D0%B0%D1%8C%D1%80%D0%B0%D1%85%D1%8C%D0%B8%D0%B9_%D1%84%D0%B0%D0%BA%D1%82%D0%BE%D1%80%D0%B8%D0%B7%D0%B0%D1%86%D0%B8" title="БӀарччача таьрахьий факторизаци – Ingush" lang="inh" hreflang="inh" data-title="БӀарччача таьрахьий факторизаци" data-language-autonym="ГӀалгӀай" data-language-local-name="Ingush" class="interlanguage-link-target"><span>ГӀалгӀай</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/%EC%86%8C%EC%9D%B8%EC%88%98%EB%B6%84%ED%95%B4" title="소인수분해 – Korean" lang="ko" hreflang="ko" data-title="소인수분해" data-language-autonym="한국어" data-language-local-name="Korean" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/Faktorisasi_prima" title="Faktorisasi prima – Indonesian" lang="id" hreflang="id" data-title="Faktorisasi prima" data-language-autonym="Bahasa Indonesia" data-language-local-name="Indonesian" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-is mw-list-item"><a href="https://is.wikipedia.org/wiki/Frum%C3%BE%C3%A1ttun" title="Frumþáttun – Icelandic" lang="is" hreflang="is" data-title="Frumþáttun" data-language-autonym="Íslenska" data-language-local-name="Icelandic" class="interlanguage-link-target"><span>Íslenska</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/%D7%A4%D7%99%D7%A8%D7%95%D7%A7_%D7%9C%D7%92%D7%95%D7%A8%D7%9E%D7%99%D7%9D_%D7%A9%D7%9C_%D7%9E%D7%A1%D7%A4%D7%A8_%D7%A9%D7%9C%D7%9D" title="פירוק לגורמים של מספר שלם – Hebrew" lang="he" hreflang="he" data-title="פירוק לגורמים של מספר שלם" data-language-autonym="עברית" data-language-local-name="Hebrew" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-lb mw-list-item"><a href="https://lb.wikipedia.org/wiki/Haaptsaz_vun_der_elementarer_Zuelentheorie" title="Haaptsaz vun der elementarer Zuelentheorie – Luxembourgish" lang="lb" hreflang="lb" data-title="Haaptsaz vun der elementarer Zuelentheorie" data-language-autonym="Lëtzebuergesch" data-language-local-name="Luxembourgish" class="interlanguage-link-target"><span>Lëtzebuergesch</span></a></li><li class="interlanguage-link interwiki-hu mw-list-item"><a href="https://hu.wikipedia.org/wiki/Pr%C3%ADmfelbont%C3%A1s" title="Prímfelbontás – Hungarian" lang="hu" hreflang="hu" data-title="Prímfelbontás" data-language-autonym="Magyar" data-language-local-name="Hungarian" class="interlanguage-link-target"><span>Magyar</span></a></li><li class="interlanguage-link interwiki-nl mw-list-item"><a href="https://nl.wikipedia.org/wiki/Ontbinden_in_priemfactoren" title="Ontbinden in priemfactoren – Dutch" lang="nl" hreflang="nl" data-title="Ontbinden in priemfactoren" data-language-autonym="Nederlands" data-language-local-name="Dutch" class="interlanguage-link-target"><span>Nederlands</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/%E7%B4%A0%E5%9B%A0%E6%95%B0%E5%88%86%E8%A7%A3" title="素因数分解 – Japanese" lang="ja" hreflang="ja" data-title="素因数分解" data-language-autonym="日本語" data-language-local-name="Japanese" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/Fatora%C3%A7%C3%A3o_de_inteiros" title="Fatoração de inteiros – Portuguese" lang="pt" hreflang="pt" data-title="Fatoração de inteiros" data-language-autonym="Português" data-language-local-name="Portuguese" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-ro mw-list-item"><a href="https://ro.wikipedia.org/wiki/Descompunerea_%C3%AEn_factori_primi" title="Descompunerea în factori primi – Romanian" lang="ro" hreflang="ro" data-title="Descompunerea în factori primi" data-language-autonym="Română" data-language-local-name="Romanian" class="interlanguage-link-target"><span>Română</span></a></li><li class="interlanguage-link interwiki-ru badge-Q17559452 badge-recommendedarticle mw-list-item" title="recommended article"><a href="https://ru.wikipedia.org/wiki/%D0%A4%D0%B0%D0%BA%D1%82%D0%BE%D1%80%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F_%D1%86%D0%B5%D0%BB%D1%8B%D1%85_%D1%87%D0%B8%D1%81%D0%B5%D0%BB" title="Факторизация целых чисел – Russian" lang="ru" hreflang="ru" data-title="Факторизация целых чисел" data-language-autonym="Русский" data-language-local-name="Russian" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-simple mw-list-item"><a href="https://simple.wikipedia.org/wiki/Prime_factorization" title="Prime factorization – Simple English" lang="en-simple" hreflang="en-simple" data-title="Prime factorization" data-language-autonym="Simple English" data-language-local-name="Simple English" class="interlanguage-link-target"><span>Simple English</span></a></li><li class="interlanguage-link interwiki-sl mw-list-item"><a href="https://sl.wikipedia.org/wiki/Pra%C5%A1tevilski_razcep" title="Praštevilski razcep – Slovenian" lang="sl" hreflang="sl" data-title="Praštevilski razcep" data-language-autonym="Slovenščina" data-language-local-name="Slovenian" class="interlanguage-link-target"><span>Slovenščina</span></a></li><li class="interlanguage-link interwiki-sr mw-list-item"><a href="https://sr.wikipedia.org/wiki/Rastavljanje_na_faktore" title="Rastavljanje na faktore – Serbian" lang="sr" hreflang="sr" data-title="Rastavljanje na faktore" data-language-autonym="Српски / srpski" data-language-local-name="Serbian" class="interlanguage-link-target"><span>Српски / srpski</span></a></li><li class="interlanguage-link interwiki-fi mw-list-item"><a href="https://fi.wikipedia.org/wiki/Kokonaislukujen_tekij%C3%B6ihinjako" title="Kokonaislukujen tekijöihinjako – Finnish" lang="fi" hreflang="fi" data-title="Kokonaislukujen tekijöihinjako" data-language-autonym="Suomi" data-language-local-name="Finnish" class="interlanguage-link-target"><span>Suomi</span></a></li><li class="interlanguage-link interwiki-sv mw-list-item"><a href="https://sv.wikipedia.org/wiki/Primtalsfaktorisering" title="Primtalsfaktorisering – Swedish" lang="sv" hreflang="sv" data-title="Primtalsfaktorisering" data-language-autonym="Svenska" data-language-local-name="Swedish" class="interlanguage-link-target"><span>Svenska</span></a></li><li class="interlanguage-link interwiki-th mw-list-item"><a href="https://th.wikipedia.org/wiki/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B9%81%E0%B8%A2%E0%B8%81%E0%B8%95%E0%B8%B1%E0%B8%A7%E0%B8%9B%E0%B8%A3%E0%B8%B0%E0%B8%81%E0%B8%AD%E0%B8%9A%E0%B8%88%E0%B8%B3%E0%B8%99%E0%B8%A7%E0%B8%99%E0%B9%80%E0%B8%95%E0%B9%87%E0%B8%A1" title="การแยกตัวประกอบจำนวนเต็ม – Thai" lang="th" hreflang="th" data-title="การแยกตัวประกอบจำนวนเต็ม" data-language-autonym="ไทย" data-language-local-name="Thai" class="interlanguage-link-target"><span>ไทย</span></a></li><li class="interlanguage-link interwiki-tr mw-list-item"><a href="https://tr.wikipedia.org/wiki/Asal_%C3%A7arpanlara_ay%C4%B1rma" title="Asal çarpanlara ayırma – Turkish" lang="tr" hreflang="tr" data-title="Asal çarpanlara ayırma" data-language-autonym="Türkçe" data-language-local-name="Turkish" class="interlanguage-link-target"><span>Türkçe</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/%D0%A4%D0%B0%D0%BA%D1%82%D0%BE%D1%80%D0%B8%D0%B7%D0%B0%D1%86%D1%96%D1%8F_%D1%86%D1%96%D0%BB%D0%B8%D1%85_%D1%87%D0%B8%D1%81%D0%B5%D0%BB" title="Факторизація цілих чисел – Ukrainian" lang="uk" hreflang="uk" data-title="Факторизація цілих чисел" data-language-autonym="Українська" data-language-local-name="Ukrainian" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-vi mw-list-item"><a href="https://vi.wikipedia.org/wiki/Ph%C3%A2n_t%C3%ADch_s%E1%BB%91_nguy%C3%AAn" title="Phân tích số nguyên – Vietnamese" lang="vi" hreflang="vi" data-title="Phân tích số nguyên" data-language-autonym="Tiếng Việt" data-language-local-name="Vietnamese" class="interlanguage-link-target"><span>Tiếng Việt</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/%E6%95%B4%E6%95%B0%E5%88%86%E8%A7%A3" title="整数分解 – Chinese" lang="zh" hreflang="zh" data-title="整数分解" data-language-autonym="中文" data-language-local-name="Chinese" class="interlanguage-link-target"><span>中文</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q4846249#sitelinks-wikipedia" title="Edit interlanguage links" class="wbc-editpage">Edit links</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Namespaces"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Integer_factorization" title="View the content page [c]" accesskey="c"><span>Article</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Talk:Integer_factorization" rel="discussion" title="Discuss improvements to the content page [t]" accesskey="t"><span>Talk</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Integer_factorization"><span>Read</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Integer_factorization&amp;action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Integer_factorization&amp;action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Tools" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Tools</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Tools</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">hide</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <div class="vector-menu-heading"> Actions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Integer_factorization"><span>Read</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Integer_factorization&amp;action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Integer_factorization&amp;action=history"><span>View history</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Integer_factorization" title="List of all English Wikipedia pages containing links to this page [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Integer_factorization" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_Upload_Wizard" title="Upload files [u]" accesskey="u"><span>Upload file</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Integer_factorization&amp;oldid=1243964561" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Integer_factorization&amp;action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Special:CiteThisPage&amp;page=Integer_factorization&amp;id=1243964561&amp;wpFormIdentifier=titleform" title="Information on how to cite this page"><span>Cite this page</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&amp;url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FInteger_factorization"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&amp;url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FInteger_factorization"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&amp;page=Integer_factorization&amp;action=show-download-screen" title="Download this page as a PDF file"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Integer_factorization&amp;printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-commons mw-list-item"><a href="https://commons.wikimedia.org/wiki/Category:Prime_factorization" hreflang="en"><span>Wikimedia Commons</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q4846249" title="Structured data on this page hosted by Wikidata [g]" accesskey="g"><span>Wikidata item</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">From Wikipedia, the free encyclopedia</div> </div> <div id="contentSub"><div id="mw-content-subtitle"><span class="mw-redirectedfrom">(Redirected from <a href="/w/index.php?title=Prime_factorization&amp;redirect=no" class="mw-redirect" title="Prime factorization">Prime factorization</a>)</span></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">Decomposition of a number into a product</div> <style data-mw-deduplicate="TemplateStyles:r1236090951">.mw-parser-output .hatnote{font-style:italic}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output .hatnote i{font-style:normal}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}</style><div role="note" class="hatnote navigation-not-searchable">"Prime decomposition" redirects here. For the prime decomposition theorem for 3-manifolds, see <a href="/wiki/Prime_decomposition_of_3-manifolds" title="Prime decomposition of 3-manifolds">Prime decomposition of 3-manifolds</a>.</div> <style data-mw-deduplicate="TemplateStyles:r1233989161">.mw-parser-output .unsolved{margin:0.5em 0 1em 1em;border:#ccc solid;padding:0.35em 0.35em 0.35em 2.2em;background-color:var(--background-color-interactive-subtle);background-image:url("https://upload.wikimedia.org/wikipedia/commons/2/26/Question%2C_Web_Fundamentals.svg");background-position:top 50%left 0.35em;background-size:1.5em;background-repeat:no-repeat}@media(min-width:720px){.mw-parser-output .unsolved{clear:right;float:right;max-width:25%}}.mw-parser-output .unsolved-label{font-weight:bold}.mw-parser-output .unsolved-body{margin:0.35em;font-style:italic}.mw-parser-output .unsolved-more{font-size:smaller}</style> <div role="note" aria-labelledby="unsolved-label-computer_science" class="unsolved"> <div><span class="unsolved-label" id="unsolved-label-computer_science">Unsolved problem in computer science</span>:</div> <div class="unsolved-body">Can integer factorization be solved in polynomial time on a classical computer?</div> <div class="unsolved-more"><a href="/wiki/List_of_unsolved_problems_in_computer_science" title="List of unsolved problems in computer science">(more unsolved problems in computer science)</a></div> </div> <p>In <a href="/wiki/Mathematics" title="Mathematics">mathematics</a>, <b>integer factorization</b> is the decomposition of a <a href="/wiki/Positive_integer" class="mw-redirect" title="Positive integer">positive integer</a> into a <a href="/wiki/Product_(mathematics)" title="Product (mathematics)">product</a> of integers. Every positive integer greater than 1 is either the product of two or more integer <a href="/wiki/Divisor" title="Divisor">factors</a> greater than 1, in which case it is called a <a href="/wiki/Composite_number" title="Composite number">composite number</a>, or it is not, in which case it is called a <a href="/wiki/Prime_number" title="Prime number">prime number</a>. For example, <span class="texhtml">15</span> is a composite number because <span class="texhtml">15 = 3&#8201;·&#8201;5</span>, but <span class="texhtml">7</span> is a prime number because it cannot be decomposed in this way. If one of the factors is composite, it can in turn be written as a product of smaller factors, for example <span class="texhtml">60 = 3&#8201;·&#8201;20 = 3&#8201;·&#8201;(5&#8201;·&#8201;4)</span>. Continuing this process until every factor is prime is called <b>prime factorization</b>; the result is always unique up to the order of the factors by the <a href="/wiki/Prime_factorization_theorem" class="mw-redirect" title="Prime factorization theorem">prime factorization theorem</a>. </p><p>To factorize a small integer <span class="texhtml mvar" style="font-style:italic;">n</span> using mental or pen-and-paper arithmetic, the simplest method is <a href="/wiki/Trial_division" title="Trial division">trial division</a>: checking if the number is divisible by prime numbers <span class="texhtml">2</span>, <span class="texhtml">3</span>, <span class="texhtml">5</span>, and so on, up to the <a href="/wiki/Square_root" title="Square root">square root</a> of <span class="texhtml mvar" style="font-style:italic;">n</span>. For larger numbers, especially when using a computer, various more sophisticated factorization algorithms are more efficient. A prime factorization algorithm typically involves <a href="/wiki/Primality_test" title="Primality test">testing whether each factor is prime</a> each time a factor is found. </p><p>When the numbers are sufficiently large, no efficient <a href="/wiki/Quantum_computer" class="mw-redirect" title="Quantum computer">non-quantum</a> integer factorization <a href="/wiki/Algorithm" title="Algorithm">algorithm</a> is known. However, it has not been proven that such an algorithm does not exist. The presumed <a href="/wiki/Computational_hardness_assumption" title="Computational hardness assumption">difficulty</a> of this problem is important for the algorithms used in <a href="/wiki/Cryptography" title="Cryptography">cryptography</a> such as <a href="/wiki/RSA_(cryptosystem)" title="RSA (cryptosystem)">RSA public-key encryption</a> and the <a href="/wiki/Digital_Signature_Algorithm" title="Digital Signature Algorithm">RSA digital signature</a>.<sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">&#91;</span>1<span class="cite-bracket">&#93;</span></a></sup> Many areas of <a href="/wiki/Mathematics" title="Mathematics">mathematics</a> and <a href="/wiki/Computer_science" title="Computer science">computer science</a> have been brought to bear on the problem, including <a href="/wiki/Elliptic_curve" title="Elliptic curve">elliptic curves</a>, <a href="/wiki/Algebraic_number_theory" title="Algebraic number theory">algebraic number theory</a>, and <a href="/wiki/Quantum_computer" class="mw-redirect" title="Quantum computer">quantum computing</a>. </p><p>Not all numbers of a given length are equally hard to factor. The hardest instances of these problems (for currently known techniques) are <a href="/wiki/Semiprime" title="Semiprime">semiprimes</a>, the product of two prime numbers. When they are both large, for instance more than two thousand <a href="/wiki/Bit" title="Bit">bits</a> long, randomly chosen, and about the same size (but not too close, for example, to avoid efficient factorization by <a href="/wiki/Fermat%27s_factorization_method" title="Fermat&#39;s factorization method">Fermat's factorization method</a>), even the fastest prime factorization algorithms on the fastest computers can take enough time to make the search impractical; that is, as the number of digits of the integer being factored increases, the number of operations required to perform the factorization on any computer increases drastically. </p><p>Many cryptographic protocols are based on the difficulty of factoring large composite integers or a related problem—for example, the <a href="/wiki/RSA_problem" title="RSA problem">RSA problem</a>. An algorithm that efficiently factors an arbitrary integer would render <a href="/wiki/RSA_(algorithm)" class="mw-redirect" title="RSA (algorithm)">RSA</a>-based <a href="/wiki/Public-key" class="mw-redirect" title="Public-key">public-key</a> cryptography insecure. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Prime_decomposition">Prime decomposition</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Integer_factorization&amp;action=edit&amp;section=1" title="Edit section: Prime decomposition"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <figure class="mw-default-size mw-halign-right" typeof="mw:File/Thumb"><a href="/wiki/File:PrimeDecompositionExample.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/b/bf/PrimeDecompositionExample.svg/220px-PrimeDecompositionExample.svg.png" decoding="async" width="220" height="127" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/bf/PrimeDecompositionExample.svg/330px-PrimeDecompositionExample.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/bf/PrimeDecompositionExample.svg/440px-PrimeDecompositionExample.svg.png 2x" data-file-width="200" data-file-height="115" /></a><figcaption>Prime decomposition of <span class="texhtml"><i>n</i> = 864</span> as <span class="texhtml">2<sup>5</sup> × 3<sup>3</sup></span></figcaption></figure> <p>By the <a href="/wiki/Fundamental_theorem_of_arithmetic" title="Fundamental theorem of arithmetic">fundamental theorem of arithmetic</a>, every positive integer has a unique <a href="/wiki/Prime_factor" class="mw-redirect" title="Prime factor">prime factorization</a>. (By convention, 1 is the <a href="/wiki/Empty_product" title="Empty product">empty product</a>.) <a href="/wiki/Primality_test" title="Primality test">Testing</a> whether the integer is prime can be done in <a href="/wiki/Polynomial_time" class="mw-redirect" title="Polynomial time">polynomial time</a>, for example, by the <a href="/wiki/AKS_primality_test" title="AKS primality test">AKS primality test</a>. If composite, however, the polynomial time tests give no insight into how to obtain the factors. </p><p>Given a general algorithm for integer factorization, any integer can be factored into its constituent <a href="/wiki/Prime_factor" class="mw-redirect" title="Prime factor">prime factors</a> by repeated application of this algorithm. The situation is more complicated with special-purpose factorization algorithms, whose benefits may not be realized as well or even at all with the factors produced during decomposition. For example, if <span class="texhtml"><i>n</i> = 171 × <i>p</i> × <i>q</i></span> where <span class="texhtml"><i>p</i> &lt; <i>q</i></span> are very large primes, <a href="/wiki/Trial_division" title="Trial division">trial division</a> will quickly produce the factors 3 and 19 but will take <span class="texhtml"><i>p</i></span> divisions to find the next factor. As a contrasting example, if <span class="texhtml"><i>n</i></span> is the product of the primes <span class="texhtml">13729</span>, <span class="texhtml">1372933</span>, and <span class="texhtml">18848997161</span>, where <span class="texhtml">13729 × 1372933 = 18848997157</span>, Fermat's factorization method will begin with <span class="texhtml">⌈<span class="nowrap">&#8730;<span style="border-top:1px solid; padding:0 0.1em;"><i>n</i></span></span>⌉ = 18848997159</span> which immediately yields <span class="texhtml"><i>b</i> = <span class="nowrap">&#8730;<span style="border-top:1px solid; padding:0 0.1em;"><i>a</i><sup>2</sup> − <i>n</i></span></span> = <span class="nowrap">&#8730;<span style="border-top:1px solid; padding:0 0.1em;">4</span></span> = 2</span> and hence the factors <span class="texhtml"><i>a</i> − <i>b</i> = 18848997157</span> and <span class="texhtml"><i>a</i> + <i>b</i> = 18848997161</span>. While these are easily recognized as composite and prime respectively, Fermat's method will take much longer to factor the composite number because the starting value of <span class="texhtml">⌈<span class="nowrap">&#8730;<span style="border-top:1px solid; padding:0 0.1em;">18848997157</span></span>⌉ = 137292</span> for <span class="texhtml"><i>a</i></span> is a factor of 10 from <span class="texhtml">1372933</span>. </p> <div class="mw-heading mw-heading2"><h2 id="Current_state_of_the_art">Current state of the art</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Integer_factorization&amp;action=edit&amp;section=2" title="Edit section: Current state of the art"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><div role="note" class="hatnote navigation-not-searchable">See also: <a href="/wiki/Integer_factorization_records" title="Integer factorization records">Integer factorization records</a></div> <p>Among the <span class="texhtml"><i>b</i></span>-bit numbers, the most difficult to factor in practice using existing algorithms are those <a href="/wiki/Semiprimes" class="mw-redirect" title="Semiprimes">semiprimes</a> whose factors are of similar size. For this reason, these are the integers used in cryptographic applications. </p><p>In 2019, Fabrice Boudot, Pierrick Gaudry, Aurore Guillevic, Nadia Heninger, Emmanuel Thomé and Paul Zimmermann factored a 240-digit (795-bit) number (<a href="/wiki/RSA-240" class="mw-redirect" title="RSA-240">RSA-240</a>) utilizing approximately 900 core-years of computing power.<sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">&#91;</span>2<span class="cite-bracket">&#93;</span></a></sup> The researchers estimated that a 1024-bit RSA modulus would take about 500 times as long.<sup id="cite_ref-rsa768_3-0" class="reference"><a href="#cite_note-rsa768-3"><span class="cite-bracket">&#91;</span>3<span class="cite-bracket">&#93;</span></a></sup> </p><p>The largest such semiprime yet factored was <a href="/wiki/RSA_numbers#RSA-250" title="RSA numbers">RSA-250</a>, an 829-bit number with 250 decimal digits, in February 2020. The total computation time was roughly 2700 core-years of computing using Intel <a href="/wiki/Skylake_(microarchitecture)#Xeon_Gold_(quad_processor)" title="Skylake (microarchitecture)">Xeon Gold</a> 6130 at 2.1&#160;GHz. Like all recent factorization records, this factorization was completed with a highly optimized implementation of the <a href="/wiki/General_number_field_sieve" title="General number field sieve">general number field sieve</a> run on hundreds of machines. </p> <div class="mw-heading mw-heading3"><h3 id="Time_complexity">Time complexity</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Integer_factorization&amp;action=edit&amp;section=3" title="Edit section: Time complexity"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>No <a href="/wiki/Algorithm" title="Algorithm">algorithm</a> has been published that can factor all integers in <a href="/wiki/Polynomial_time" class="mw-redirect" title="Polynomial time">polynomial time</a>, that is, that can factor a <span class="texhtml"><i>b</i></span>-bit number <span class="texhtml"><i>n</i></span> in time <span class="texhtml"><a href="/wiki/Big_O_notation" title="Big O notation">O</a>(<i>b</i><sup><i>k</i></sup>)</span> for some constant <span class="texhtml"><i>k</i></span>. Neither the existence nor non-existence of such algorithms has been proved, but it is generally suspected that they do not exist.<sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">&#91;</span>4<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-5" class="reference"><a href="#cite_note-5"><span class="cite-bracket">&#91;</span>5<span class="cite-bracket">&#93;</span></a></sup> </p><p>There are published algorithms that are faster than <span class="texhtml">O((1&#160;+&#160;<i>ε</i>)<sup><i>b</i></sup>)</span> for all positive <span class="texhtml"><i>ε</i></span>, that is, <a href="/wiki/Time_complexity#Sub-exponential_time" title="Time complexity">sub-exponential</a>. As of 2022<sup class="plainlinks noexcerpt noprint asof-tag update" style="display:none;"><a class="external text" href="https://en.wikipedia.org/w/index.php?title=Integer_factorization&amp;action=edit">&#91;update&#93;</a></sup>, the algorithm with best theoretical asymptotic running time is the <a href="/wiki/General_number_field_sieve" title="General number field sieve">general number field sieve</a> (GNFS), first published in 1993,<sup id="cite_ref-6" class="reference"><a href="#cite_note-6"><span class="cite-bracket">&#91;</span>6<span class="cite-bracket">&#93;</span></a></sup> running on a <span class="texhtml"><i>b</i></span>-bit number <span class="texhtml"><i>n</i></span> in time: </p> <dl><dd><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \exp \left(\left(\left({\tfrac {8}{3}}\right)^{\frac {2}{3}}+o(1)\right)\left(\log n\right)^{\frac {1}{3}}\left(\log \log n\right)^{\frac {2}{3}}\right).}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>exp</mi> <mo>&#x2061;<!-- ⁡ --></mo> <mrow> <mo>(</mo> <mrow> <mrow> <mo>(</mo> <mrow> <msup> <mrow> <mo>(</mo> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="false" scriptlevel="0"> <mfrac> <mn>8</mn> <mn>3</mn> </mfrac> </mstyle> </mrow> <mo>)</mo> </mrow> <mrow class="MJX-TeXAtom-ORD"> <mfrac> <mn>2</mn> <mn>3</mn> </mfrac> </mrow> </msup> <mo>+</mo> <mi>o</mi> <mo stretchy="false">(</mo> <mn>1</mn> <mo stretchy="false">)</mo> </mrow> <mo>)</mo> </mrow> <msup> <mrow> <mo>(</mo> <mrow> <mi>log</mi> <mo>&#x2061;<!-- ⁡ --></mo> <mi>n</mi> </mrow> <mo>)</mo> </mrow> <mrow class="MJX-TeXAtom-ORD"> <mfrac> <mn>1</mn> <mn>3</mn> </mfrac> </mrow> </msup> <msup> <mrow> <mo>(</mo> <mrow> <mi>log</mi> <mo>&#x2061;<!-- ⁡ --></mo> <mi>log</mi> <mo>&#x2061;<!-- ⁡ --></mo> <mi>n</mi> </mrow> <mo>)</mo> </mrow> <mrow class="MJX-TeXAtom-ORD"> <mfrac> <mn>2</mn> <mn>3</mn> </mfrac> </mrow> </msup> </mrow> <mo>)</mo> </mrow> <mo>.</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle \exp \left(\left(\left({\tfrac {8}{3}}\right)^{\frac {2}{3}}+o(1)\right)\left(\log n\right)^{\frac {1}{3}}\left(\log \log n\right)^{\frac {2}{3}}\right).}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a7938373b478c57ee7f904580c2ba1ff355d7b33" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -3.171ex; width:45.014ex; height:7.509ex;" alt="{\displaystyle \exp \left(\left(\left({\tfrac {8}{3}}\right)^{\frac {2}{3}}+o(1)\right)\left(\log n\right)^{\frac {1}{3}}\left(\log \log n\right)^{\frac {2}{3}}\right).}"></span></dd></dl> <p>For current computers, GNFS is the best published algorithm for large <span class="texhtml"><i>n</i></span> (more than about 400 bits). For a <a href="/wiki/Quantum_computing" title="Quantum computing">quantum computer</a>, however, <a href="/wiki/Peter_Shor" title="Peter Shor">Peter Shor</a> discovered an algorithm in 1994 that solves it in polynomial time. <a href="/wiki/Shor%27s_algorithm" title="Shor&#39;s algorithm">Shor's algorithm</a> takes only <span class="texhtml">O(<i>b</i><sup>3</sup>)</span> time and <span class="texhtml">O(<i>b</i>)</span> space on <span class="texhtml"><i>b</i></span>-bit number inputs. In 2001, Shor's algorithm was implemented for the first time, by using <a href="/wiki/Nuclear_magnetic_resonance" title="Nuclear magnetic resonance">NMR</a> techniques on molecules that provide seven qubits.<sup id="cite_ref-7" class="reference"><a href="#cite_note-7"><span class="cite-bracket">&#91;</span>7<span class="cite-bracket">&#93;</span></a></sup> </p><p>In order to talk about <a href="/wiki/Complexity_class" title="Complexity class">complexity classes</a> such as P, NP, and co-NP, the problem has to be stated as a <a href="/wiki/Decision_problem" title="Decision problem">decision problem</a>. </p> <style data-mw-deduplicate="TemplateStyles:r1110004140">.mw-parser-output .math_theorem{margin:1em 2em;padding:0.5em 1em 0.4em;border:1px solid #aaa;overflow:hidden}@media(max-width:500px){.mw-parser-output .math_theorem{margin:1em 0em;padding:0.5em 0.5em 0.4em}}</style><div class="math_theorem" style=""> <p><strong class="theorem-name">Decision problem</strong>&#160;<span class="theorem-note">(Integer factorization)</span><span class="theoreme-tiret">&#160;&#8212;&#160;</span>For every natural numbers <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>n</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle n}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a601995d55609f2d9f5e233e36fbe9ea26011b3b" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.395ex; height:1.676ex;" alt="{\displaystyle n}"></span> and <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle k}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>k</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle k}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/c3c9a2c7b599b37105512c5d570edc034056dd40" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.211ex; height:2.176ex;" alt="{\displaystyle k}"></span>, does <span class="texhtml"><i>n</i></span> have a factor smaller than <span class="texhtml"><i>k</i></span> besides 1? </p> </div> <p>It is known to be in both <a href="/wiki/NP_(complexity)" title="NP (complexity)">NP</a> and <a href="/wiki/Co-NP" title="Co-NP">co-NP</a>, meaning that both "yes" and "no" answers can be verified in polynomial time. An answer of "yes" can be certified by exhibiting a factorization <span class="texhtml"><i>n</i> = <i>d</i>(<style data-mw-deduplicate="TemplateStyles:r1214402035">.mw-parser-output .sfrac{white-space:nowrap}.mw-parser-output .sfrac.tion,.mw-parser-output .sfrac .tion{display:inline-block;vertical-align:-0.5em;font-size:85%;text-align:center}.mw-parser-output .sfrac .num{display:block;line-height:1em;margin:0.0em 0.1em;border-bottom:1px solid}.mw-parser-output .sfrac .den{display:block;line-height:1em;margin:0.1em 0.1em}.mw-parser-output .sr-only{border:0;clip:rect(0,0,0,0);clip-path:polygon(0px 0px,0px 0px,0px 0px);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}</style><span class="sfrac">&#8288;<span class="tion"><span class="num"><i>n</i></span><span class="sr-only">/</span><span class="den"><i>d</i></span></span>&#8288;</span>)</span> with <span class="texhtml"><i>d</i> ≤ <i>k</i></span>. An answer of "no" can be certified by exhibiting the factorization of <span class="texhtml"><i>n</i></span> into distinct primes, all larger than <span class="texhtml"><i>k</i></span>; one can verify their primality using the <a href="/wiki/AKS_primality_test" title="AKS primality test">AKS primality test</a>, and then multiply them to obtain <span class="texhtml"><i>n</i></span>. The <a href="/wiki/Fundamental_theorem_of_arithmetic" title="Fundamental theorem of arithmetic">fundamental theorem of arithmetic</a> guarantees that there is only one possible string of increasing primes that will be accepted, which shows that the problem is in both <a href="/wiki/UP_(complexity)" title="UP (complexity)">UP</a> and co-UP.<sup id="cite_ref-8" class="reference"><a href="#cite_note-8"><span class="cite-bracket">&#91;</span>8<span class="cite-bracket">&#93;</span></a></sup> It is known to be in <a href="/wiki/BQP" title="BQP">BQP</a> because of Shor's algorithm. </p><p>The problem is suspected to be outside all three of the complexity classes P, NP-complete,<sup id="cite_ref-9" class="reference"><a href="#cite_note-9"><span class="cite-bracket">&#91;</span>9<span class="cite-bracket">&#93;</span></a></sup> and <a href="/wiki/Co-NP-complete" title="Co-NP-complete">co-NP-complete</a>. It is therefore a candidate for the <a href="/wiki/NP-intermediate" title="NP-intermediate">NP-intermediate</a> complexity class. </p><p>In contrast, the decision problem "Is <span class="texhtml"><i>n</i></span> a composite number?" (or equivalently: "Is <span class="texhtml"><i>n</i></span> a prime number?") appears to be much easier than the problem of specifying factors of <span class="texhtml"><i>n</i></span>. The composite/prime problem can be solved in polynomial time (in the number <span class="texhtml"><i>b</i></span> of digits of <span class="texhtml"><i>n</i></span>) with the <a href="/wiki/AKS_primality_test" title="AKS primality test">AKS primality test</a>. In addition, there are several <a href="/wiki/Randomized_algorithm" title="Randomized algorithm">probabilistic algorithms</a> that can test primality very quickly in practice if one is willing to accept a vanishingly small possibility of error. The ease of <a href="/wiki/Primality_test" title="Primality test">primality testing</a> is a crucial part of the <a href="/wiki/RSA_(algorithm)" class="mw-redirect" title="RSA (algorithm)">RSA</a> algorithm, as it is necessary to find large prime numbers to start with. </p> <div class="mw-heading mw-heading2"><h2 id="Factoring_algorithms">Factoring algorithms</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Integer_factorization&amp;action=edit&amp;section=4" title="Edit section: Factoring algorithms"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="Special-purpose">Special-purpose</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Integer_factorization&amp;action=edit&amp;section=5" title="Edit section: Special-purpose"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>A special-purpose factoring algorithm's running time depends on the properties of the number to be factored or on one of its unknown factors: size, special form, etc. The parameters which determine the running time vary among algorithms. </p><p>An important subclass of special-purpose factoring algorithms is the <i>Category 1</i> or <i>First Category</i> algorithms, whose running time depends on the size of smallest prime factor. Given an integer of unknown form, these methods are usually applied before general-purpose methods to remove small factors.<sup id="cite_ref-Bressoud_and_Wagon_10-0" class="reference"><a href="#cite_note-Bressoud_and_Wagon-10"><span class="cite-bracket">&#91;</span>10<span class="cite-bracket">&#93;</span></a></sup> For example, naive <a href="/wiki/Trial_division" title="Trial division">trial division</a> is a Category 1 algorithm. </p> <ul><li><a href="/wiki/Trial_division" title="Trial division">Trial division</a></li> <li><a href="/wiki/Wheel_factorization" title="Wheel factorization">Wheel factorization</a></li> <li><a href="/wiki/Pollard%27s_rho_algorithm" title="Pollard&#39;s rho algorithm">Pollard's rho algorithm</a>, which has two common flavors to <a href="/wiki/Cycle_detection" title="Cycle detection">identify group cycles</a>: one by Floyd and one by Brent.</li> <li><a href="/wiki/Algebraic-group_factorisation_algorithms" class="mw-redirect" title="Algebraic-group factorisation algorithms">Algebraic-group factorization algorithms</a>, among which are <a href="/wiki/Pollard%27s_p_%E2%88%92_1_algorithm" title="Pollard&#39;s p − 1 algorithm">Pollard's <span class="texhtml"><i>p</i> − 1</span> algorithm</a>, <a href="/wiki/Williams%27_p_%2B_1_algorithm" class="mw-redirect" title="Williams&#39; p + 1 algorithm">Williams' <span class="texhtml"><i>p</i> + 1</span> algorithm</a>, and <a href="/wiki/Lenstra_elliptic_curve_factorization" class="mw-redirect" title="Lenstra elliptic curve factorization">Lenstra elliptic curve factorization</a></li> <li><a href="/wiki/Fermat%27s_factorization_method" title="Fermat&#39;s factorization method">Fermat's factorization method</a></li> <li><a href="/wiki/Euler%27s_factorization_method" title="Euler&#39;s factorization method">Euler's factorization method</a></li> <li><a href="/wiki/Special_number_field_sieve" title="Special number field sieve">Special number field sieve</a></li> <li><a href="/wiki/Difference_of_two_squares" title="Difference of two squares">Difference of two squares</a></li></ul> <div class="mw-heading mw-heading3"><h3 id="General-purpose">General-purpose</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Integer_factorization&amp;action=edit&amp;section=6" title="Edit section: General-purpose"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>A general-purpose factoring algorithm, also known as a <i>Category 2</i>, <i>Second Category</i>, or <a href="/wiki/Maurice_Kraitchik" title="Maurice Kraitchik"><i>Kraitchik</i></a> <i>family</i> algorithm,<sup id="cite_ref-Bressoud_and_Wagon_10-1" class="reference"><a href="#cite_note-Bressoud_and_Wagon-10"><span class="cite-bracket">&#91;</span>10<span class="cite-bracket">&#93;</span></a></sup> has a running time which depends solely on the size of the integer to be factored. This is the type of algorithm used to factor <a href="/wiki/RSA_number" class="mw-redirect" title="RSA number">RSA numbers</a>. Most general-purpose factoring algorithms are based on the <a href="/wiki/Congruence_of_squares" title="Congruence of squares">congruence of squares</a> method. </p> <ul><li><a href="/wiki/Dixon%27s_factorization_method" title="Dixon&#39;s factorization method">Dixon's factorization method</a></li> <li><a href="/wiki/Continued_fraction_factorization" title="Continued fraction factorization">Continued fraction factorization</a> (CFRAC)</li> <li><a href="/wiki/Quadratic_sieve" title="Quadratic sieve">Quadratic sieve</a></li> <li><a href="/wiki/Rational_sieve" title="Rational sieve">Rational sieve</a></li> <li><a href="/wiki/General_number_field_sieve" title="General number field sieve">General number field sieve</a></li> <li><a href="/wiki/Shanks%27s_square_forms_factorization" title="Shanks&#39;s square forms factorization">Shanks's square forms factorization</a> (SQUFOF)</li></ul> <div class="mw-heading mw-heading3"><h3 id="Other_notable_algorithms">Other notable algorithms</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Integer_factorization&amp;action=edit&amp;section=7" title="Edit section: Other notable algorithms"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/Shor%27s_algorithm" title="Shor&#39;s algorithm">Shor's algorithm</a>, for quantum computers</li></ul> <div class="mw-heading mw-heading2"><h2 id="Heuristic_running_time">Heuristic running time</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Integer_factorization&amp;action=edit&amp;section=8" title="Edit section: Heuristic running time"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>In number theory, there are many integer factoring algorithms that heuristically have expected <a href="/wiki/Time_complexity" title="Time complexity">running time</a> </p> <dl><dd><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle L_{n}\left[{\tfrac {1}{2}},1+o(1)\right]=e^{(1+o(1)){\sqrt {(\log n)(\log \log n)}}}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mi>L</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>n</mi> </mrow> </msub> <mrow> <mo>[</mo> <mrow> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="false" scriptlevel="0"> <mfrac> <mn>1</mn> <mn>2</mn> </mfrac> </mstyle> </mrow> <mo>,</mo> <mn>1</mn> <mo>+</mo> <mi>o</mi> <mo stretchy="false">(</mo> <mn>1</mn> <mo stretchy="false">)</mo> </mrow> <mo>]</mo> </mrow> <mo>=</mo> <msup> <mi>e</mi> <mrow class="MJX-TeXAtom-ORD"> <mo stretchy="false">(</mo> <mn>1</mn> <mo>+</mo> <mi>o</mi> <mo stretchy="false">(</mo> <mn>1</mn> <mo stretchy="false">)</mo> <mo stretchy="false">)</mo> <mrow class="MJX-TeXAtom-ORD"> <msqrt> <mo stretchy="false">(</mo> <mi>log</mi> <mo>&#x2061;<!-- ⁡ --></mo> <mi>n</mi> <mo stretchy="false">)</mo> <mo stretchy="false">(</mo> <mi>log</mi> <mo>&#x2061;<!-- ⁡ --></mo> <mi>log</mi> <mo>&#x2061;<!-- ⁡ --></mo> <mi>n</mi> <mo stretchy="false">)</mo> </msqrt> </mrow> </mrow> </msup> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle L_{n}\left[{\tfrac {1}{2}},1+o(1)\right]=e^{(1+o(1)){\sqrt {(\log n)(\log \log n)}}}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/518dd095a6d940c8fa4c133fb2dfd510e9004f1c" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -1.171ex; width:40.254ex; height:4.009ex;" alt="{\displaystyle L_{n}\left[{\tfrac {1}{2}},1+o(1)\right]=e^{(1+o(1)){\sqrt {(\log n)(\log \log n)}}}}"></span></dd></dl> <p>in <a href="/wiki/Big_O_notation" title="Big O notation">little-o</a> and <a href="/wiki/L-notation" title="L-notation">L-notation</a>. Some examples of those algorithms are the <a href="/wiki/Elliptic_curve_method" class="mw-redirect" title="Elliptic curve method">elliptic curve method</a> and the <a href="/wiki/Quadratic_sieve" title="Quadratic sieve">quadratic sieve</a>. Another such algorithm is the <b>class group relations method</b> proposed by Schnorr,<sup id="cite_ref-1982-schnorr_11-0" class="reference"><a href="#cite_note-1982-schnorr-11"><span class="cite-bracket">&#91;</span>11<span class="cite-bracket">&#93;</span></a></sup> Seysen,<sup id="cite_ref-1987-seysen_12-0" class="reference"><a href="#cite_note-1987-seysen-12"><span class="cite-bracket">&#91;</span>12<span class="cite-bracket">&#93;</span></a></sup> and Lenstra,<sup id="cite_ref-1988-lenstra_13-0" class="reference"><a href="#cite_note-1988-lenstra-13"><span class="cite-bracket">&#91;</span>13<span class="cite-bracket">&#93;</span></a></sup> which they proved only assuming the unproved <a href="/wiki/Generalized_Riemann_hypothesis" title="Generalized Riemann hypothesis">generalized Riemann hypothesis</a>. </p> <div class="mw-heading mw-heading2"><h2 id="Rigorous_running_time">Rigorous running time</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Integer_factorization&amp;action=edit&amp;section=9" title="Edit section: Rigorous running time"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The Schnorr–Seysen–Lenstra probabilistic algorithm has been rigorously proven by Lenstra and Pomerance<sup id="cite_ref-lenstra-pomerance_14-0" class="reference"><a href="#cite_note-lenstra-pomerance-14"><span class="cite-bracket">&#91;</span>14<span class="cite-bracket">&#93;</span></a></sup> to have expected running time <span class="texhtml"><i>L<sub>n</sub></i>[<link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1214402035"><span class="sfrac">&#8288;<span class="tion"><span class="num">1</span><span class="sr-only">/</span><span class="den">2</span></span>&#8288;</span>, 1+<i>o</i>(1)]</span> by replacing the GRH assumption with the use of multipliers. The algorithm uses the <a href="/wiki/Ideal_class_group" title="Ideal class group">class group</a> of positive binary <a href="/wiki/Quadratic_form" title="Quadratic form">quadratic forms</a> of <a href="/wiki/Discriminant_of_a_quadratic_form" class="mw-redirect" title="Discriminant of a quadratic form">discriminant</a> <span class="texhtml">Δ</span> denoted by <span class="texhtml"><i>G</i><sub>Δ</sub></span>. <span class="texhtml"><i>G</i><sub>Δ</sub></span> is the set of triples of integers <span class="texhtml">(<i>a</i>, <i>b</i>, <i>c</i>)</span> in which those integers are relative prime. </p> <div class="mw-heading mw-heading3"><h3 id="Schnorr–Seysen–Lenstra_algorithm"><span id="Schnorr.E2.80.93Seysen.E2.80.93Lenstra_algorithm"></span>Schnorr–Seysen–Lenstra algorithm</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Integer_factorization&amp;action=edit&amp;section=10" title="Edit section: Schnorr–Seysen–Lenstra algorithm"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Given an integer <span class="texhtml mvar" style="font-style:italic;">n</span> that will be factored, where <span class="texhtml mvar" style="font-style:italic;">n</span> is an odd positive integer greater than a certain constant. In this factoring algorithm the discriminant <span class="texhtml">Δ</span> is chosen as a multiple of <span class="texhtml mvar" style="font-style:italic;">n</span>, <span class="texhtml">Δ = −<i>dn</i></span>, where <span class="texhtml mvar" style="font-style:italic;">d</span> is some positive multiplier. The algorithm expects that for one <span class="texhtml mvar" style="font-style:italic;">d</span> there exist enough <a href="/wiki/Smooth_number" title="Smooth number">smooth</a> forms in <span class="texhtml"><i>G</i><sub>Δ</sub></span>. Lenstra and Pomerance show that the choice of <span class="texhtml mvar" style="font-style:italic;">d</span> can be restricted to a small set to guarantee the smoothness result. </p><p>Denote by <span class="texhtml"><i>P</i><sub>Δ</sub></span> the set of all primes <span class="texhtml mvar" style="font-style:italic;">q</span> with <a href="/wiki/Kronecker_symbol" title="Kronecker symbol">Kronecker symbol</a> <span class="texhtml"><span style="font-size:150%;">(</span><span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1214402035"><span class="sfrac">&#8288;<span class="tion"><span class="num">Δ</span><span class="sr-only">/</span><span class="den"><i>q</i></span></span>&#8288;</span></span><span style="font-size:150%;">)</span> = 1</span>. By constructing a set of <a href="/wiki/Generating_set_of_a_group" title="Generating set of a group">generators</a> of <span class="texhtml"><i>G</i><sub>Δ</sub></span> and prime forms <span class="texhtml"><i>f</i><sub><i>q</i></sub></span> of <span class="texhtml"><i>G</i><sub>Δ</sub></span> with <span class="texhtml mvar" style="font-style:italic;">q</span> in <span class="texhtml"><i>P</i><sub>Δ</sub></span> a sequence of relations between the set of generators and <span class="texhtml"><i>f</i><sub><i>q</i></sub></span> are produced. The size of <span class="texhtml mvar" style="font-style:italic;">q</span> can be bounded by <span class="texhtml"><i>c</i><sub>0</sub>(log&#124;<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">Δ</span>&#124;)<sup>2</sup></span> for some constant <span class="texhtml"><i>c</i><sub>0</sub></span>. </p><p>The relation that will be used is a relation between the product of powers that is equal to the <a href="/wiki/Group_(mathematics)" title="Group (mathematics)">neutral element</a> of <span class="texhtml"><i>G</i><sub>Δ</sub></span>. These relations will be used to construct a so-called ambiguous form of <span class="texhtml"><i>G</i><sub>Δ</sub></span>, which is an element of <span class="texhtml"><i>G</i><sub>Δ</sub></span> of order dividing 2. By calculating the corresponding factorization of <span class="texhtml">Δ</span> and by taking a <a href="/wiki/Greatest_common_divisor" title="Greatest common divisor">gcd</a>, this ambiguous form provides the complete prime factorization of <span class="texhtml mvar" style="font-style:italic;">n</span>. This algorithm has these main steps: </p><p>Let <span class="texhtml mvar" style="font-style:italic;">n</span> be the number to be factored. </p> <div><ol><li>Let <span class="texhtml">Δ</span> be a negative integer with <span class="texhtml">Δ = −<i>dn</i></span>, where <span class="texhtml mvar" style="font-style:italic;">d</span> is a multiplier and <span class="texhtml">Δ</span> is the negative discriminant of some quadratic form.</li><li>Take the <span class="texhtml mvar" style="font-style:italic;">t</span> first primes <span class="texhtml"><i>p</i><sub>1</sub> = 2, <i>p</i><sub>2</sub> = 3, <i>p</i><sub>3</sub> = 5, ..., <i>p</i><sub><i>t</i></sub></span>, for some <span class="texhtml"><i>t</i> ∈ <b>N</b></span>.</li><li>Let <span class="texhtml"><i>f</i><sub><i>q</i></sub></span> be a random prime form of <span class="texhtml"><i>G</i><sub>Δ</sub></span> with <span class="texhtml"><span style="font-size:150%;">(</span><span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1214402035"><span class="sfrac">&#8288;<span class="tion"><span class="num">Δ</span><span class="sr-only">/</span><span class="den"><i>q</i></span></span>&#8288;</span></span><span style="font-size:150%;">)</span> = 1</span>.</li><li>Find a generating set <span class="texhtml mvar" style="font-style:italic;">X</span> of <span class="texhtml"><i>G</i><sub>Δ</sub></span>.</li><li>Collect a sequence of relations between set <span class="texhtml mvar" style="font-style:italic;">X</span> and <span class="texhtml">{<i>f</i><sub><i>q</i></sub>&#160;: <i>q</i> ∈ <i>P</i><sub>Δ</sub>}</span> satisfying: <dl><dd><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \left(\prod _{x\in X_{}}x^{r(x)}\right).\left(\prod _{q\in P_{\Delta }}f_{q}^{t(q)}\right)=1.}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mrow> <mo>(</mo> <mrow> <munder> <mo>&#x220F;<!-- ∏ --></mo> <mrow class="MJX-TeXAtom-ORD"> <mi>x</mi> <mo>&#x2208;<!-- ∈ --></mo> <msub> <mi>X</mi> <mrow class="MJX-TeXAtom-ORD"> </mrow> </msub> </mrow> </munder> <msup> <mi>x</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>r</mi> <mo stretchy="false">(</mo> <mi>x</mi> <mo stretchy="false">)</mo> </mrow> </msup> </mrow> <mo>)</mo> </mrow> <mo>.</mo> <mrow> <mo>(</mo> <mrow> <munder> <mo>&#x220F;<!-- ∏ --></mo> <mrow class="MJX-TeXAtom-ORD"> <mi>q</mi> <mo>&#x2208;<!-- ∈ --></mo> <msub> <mi>P</mi> <mrow class="MJX-TeXAtom-ORD"> <mi mathvariant="normal">&#x0394;<!-- Δ --></mi> </mrow> </msub> </mrow> </munder> <msubsup> <mi>f</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>q</mi> </mrow> <mrow class="MJX-TeXAtom-ORD"> <mi>t</mi> <mo stretchy="false">(</mo> <mi>q</mi> <mo stretchy="false">)</mo> </mrow> </msubsup> </mrow> <mo>)</mo> </mrow> <mo>=</mo> <mn>1.</mn> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle \left(\prod _{x\in X_{}}x^{r(x)}\right).\left(\prod _{q\in P_{\Delta }}f_{q}^{t(q)}\right)=1.}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/8cf163246a6d632cc54541e523589f0817de26e1" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -3.505ex; width:30.791ex; height:7.843ex;" alt="{\displaystyle \left(\prod _{x\in X_{}}x^{r(x)}\right).\left(\prod _{q\in P_{\Delta }}f_{q}^{t(q)}\right)=1.}"></span></dd></dl></li><li>Construct an ambiguous form <span class="texhtml">(<i>a</i>, <i>b</i>, <i>c</i>)</span> that is an element <span class="texhtml"><i>f</i> ∈ <i>G</i><sub>Δ</sub></span> of order dividing 2 to obtain a coprime factorization of the largest odd divisor of <span class="texhtml">Δ</span> in which <span class="texhtml">Δ = −4<i>ac</i></span> or <span class="texhtml">Δ = <i>a</i>(<i>a</i> − 4<i>c</i>)</span> or <span class="texhtml">Δ = (<i>b</i> − 2<i>a</i>)(<i>b</i> + 2<i>a</i>)</span>.</li><li>If the ambiguous form provides a factorization of <span class="texhtml mvar" style="font-style:italic;">n</span> then stop, otherwise find another ambiguous form until the factorization of <span class="texhtml mvar" style="font-style:italic;">n</span> is found. In order to prevent useless ambiguous forms from generating, build up the <a href="/wiki/Sylow_theorems" title="Sylow theorems">2-Sylow</a> group <span class="texhtml">Sll<sub>2</sub>(Δ)</span> of <span class="texhtml"><i>G</i>(Δ)</span>.</li></ol></div> <p>To obtain an algorithm for factoring any positive integer, it is necessary to add a few steps to this algorithm such as trial division, and the <a href="/wiki/Adleman%E2%80%93Pomerance%E2%80%93Rumely_primality_test" title="Adleman–Pomerance–Rumely primality test">Jacobi sum test</a>. </p> <div class="mw-heading mw-heading3"><h3 id="Expected_running_time">Expected running time</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Integer_factorization&amp;action=edit&amp;section=11" title="Edit section: Expected running time"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The algorithm as stated is a <a href="/wiki/Probabilistic_algorithm" class="mw-redirect" title="Probabilistic algorithm">probabilistic algorithm</a> as it makes random choices. Its expected running time is at most <span class="texhtml"><i>L<sub>n</sub></i>[<link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1214402035"><span class="sfrac">&#8288;<span class="tion"><span class="num">1</span><span class="sr-only">/</span><span class="den">2</span></span>&#8288;</span>, 1+<i>o</i>(1)]</span>.<sup id="cite_ref-lenstra-pomerance_14-1" class="reference"><a href="#cite_note-lenstra-pomerance-14"><span class="cite-bracket">&#91;</span>14<span class="cite-bracket">&#93;</span></a></sup> </p> <div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Integer_factorization&amp;action=edit&amp;section=12" title="Edit section: See also"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/Aurifeuillean_factorization" title="Aurifeuillean factorization">Aurifeuillean factorization</a></li> <li><a href="/wiki/Bach%27s_algorithm" title="Bach&#39;s algorithm">Bach's algorithm</a> for generating random numbers with their factorizations</li> <li><a href="/wiki/Canonical_representation_of_a_positive_integer" class="mw-redirect" title="Canonical representation of a positive integer">Canonical representation of a positive integer</a></li> <li><a href="/wiki/Factorization" title="Factorization">Factorization</a></li> <li><a href="/wiki/Multiplicative_partition" title="Multiplicative partition">Multiplicative partition</a></li> <li><a href="/wiki/P-adic_valuation" title="P-adic valuation"><span class="texhtml mvar" style="font-style:italic;">p</span>-adic valuation</a></li> <li><a href="/wiki/Integer_partition" title="Integer partition">Integer partition</a> – a way of writing a number as a sum of positive integers.</li></ul> <div class="mw-heading mw-heading2"><h2 id="Notes">Notes</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Integer_factorization&amp;action=edit&amp;section=13" title="Edit section: Notes"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r1239543626">.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}</style><div class="reflist"> <div class="mw-references-wrap mw-references-columns"><ol class="references"> <li id="cite_note-1"><span class="mw-cite-backlink"><b><a href="#cite_ref-1">^</a></b></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/6/65/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/d/d6/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/a/aa/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/4/4c/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}</style><cite id="CITEREFLenstra2011" class="citation cs2">Lenstra, Arjen K. (2011), <a rel="nofollow" class="external text" href="http://link.springer.com/10.1007/978-1-4419-5906-5_455">"Integer Factoring"</a>, in van Tilborg, Henk C. A.; Jajodia, Sushil (eds.), <i>Encyclopedia of Cryptography and Security</i>, Boston, MA: Springer US, pp.&#160;611–618, <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2F978-1-4419-5906-5_455">10.1007/978-1-4419-5906-5_455</a>, <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-1-4419-5905-8" title="Special:BookSources/978-1-4419-5905-8"><bdi>978-1-4419-5905-8</bdi></a><span class="reference-accessdate">, retrieved <span class="nowrap">2022-06-22</span></span></cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=bookitem&amp;rft.atitle=Integer+Factoring&amp;rft.btitle=Encyclopedia+of+Cryptography+and+Security&amp;rft.place=Boston%2C+MA&amp;rft.pages=611-618&amp;rft.pub=Springer+US&amp;rft.date=2011&amp;rft_id=info%3Adoi%2F10.1007%2F978-1-4419-5906-5_455&amp;rft.isbn=978-1-4419-5905-8&amp;rft.aulast=Lenstra&amp;rft.aufirst=Arjen+K.&amp;rft_id=http%3A%2F%2Flink.springer.com%2F10.1007%2F978-1-4419-5906-5_455&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AInteger+factorization" class="Z3988"></span></span> </li> <li id="cite_note-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-2">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20191202190004/https://lists.gforge.inria.fr/pipermail/cado-nfs-discuss/2019-December/001139.html">"&#91;Cado-nfs-discuss&#93; 795-bit factoring and discrete logarithms"</a>. Archived from <a rel="nofollow" class="external text" href="https://lists.gforge.inria.fr/pipermail/cado-nfs-discuss/2019-December/001139.html">the original</a> on 2019-12-02.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=%5BCado-nfs-discuss%5D+795-bit+factoring+and+discrete+logarithms&amp;rft_id=https%3A%2F%2Flists.gforge.inria.fr%2Fpipermail%2Fcado-nfs-discuss%2F2019-December%2F001139.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AInteger+factorization" class="Z3988"></span></span> </li> <li id="cite_note-rsa768-3"><span class="mw-cite-backlink"><b><a href="#cite_ref-rsa768_3-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFKleinjungAokiFrankeLenstra2010" class="citation conference cs1">Kleinjung, Thorsten; Aoki, Kazumaro; Franke, Jens; Lenstra, Arjen K.; Thomé, Emmanuel; Bos, Joppe W.; Gaudry, Pierrick; Kruppa, Alexander; Montgomery, Peter L.; Osvik, Dag Arne; te Riele, Herman J. J.; Timofeev, Andrey; Zimmermann, Paul (2010). <a rel="nofollow" class="external text" href="https://eprint.iacr.org/2010/006.pdf">"Factorization of a 768-Bit RSA Modulus"</a> <span class="cs1-format">(PDF)</span>. In Rabin, Tal (ed.). <i>Advances in Cryptology - CRYPTO 2010, 30th Annual Cryptology Conference, Santa Barbara, CA, USA, August 15-19, 2010. Proceedings</i>. Lecture Notes in Computer Science. Vol.&#160;6223. Springer. pp.&#160;333–350. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2F978-3-642-14623-7_18">10.1007/978-3-642-14623-7_18</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=conference&amp;rft.atitle=Factorization+of+a+768-Bit+RSA+Modulus&amp;rft.btitle=Advances+in+Cryptology+-+CRYPTO+2010%2C+30th+Annual+Cryptology+Conference%2C+Santa+Barbara%2C+CA%2C+USA%2C+August+15-19%2C+2010.+Proceedings&amp;rft.series=Lecture+Notes+in+Computer+Science&amp;rft.pages=333-350&amp;rft.pub=Springer&amp;rft.date=2010&amp;rft_id=info%3Adoi%2F10.1007%2F978-3-642-14623-7_18&amp;rft.aulast=Kleinjung&amp;rft.aufirst=Thorsten&amp;rft.au=Aoki%2C+Kazumaro&amp;rft.au=Franke%2C+Jens&amp;rft.au=Lenstra%2C+Arjen+K.&amp;rft.au=Thom%C3%A9%2C+Emmanuel&amp;rft.au=Bos%2C+Joppe+W.&amp;rft.au=Gaudry%2C+Pierrick&amp;rft.au=Kruppa%2C+Alexander&amp;rft.au=Montgomery%2C+Peter+L.&amp;rft.au=Osvik%2C+Dag+Arne&amp;rft.au=te+Riele%2C+Herman+J.+J.&amp;rft.au=Timofeev%2C+Andrey&amp;rft.au=Zimmermann%2C+Paul&amp;rft_id=https%3A%2F%2Feprint.iacr.org%2F2010%2F006.pdf&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AInteger+factorization" class="Z3988"></span></span> </li> <li id="cite_note-4"><span class="mw-cite-backlink"><b><a href="#cite_ref-4">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFKrantz2011" class="citation cs2"><a href="/wiki/Steven_G._Krantz" title="Steven G. Krantz">Krantz, Steven G.</a> (2011), <a rel="nofollow" class="external text" href="https://books.google.com/books?id=mMZBtxVZiQoC&amp;pg=PA203"><i>The Proof is in the Pudding: The Changing Nature of Mathematical Proof</i></a>, New York: Springer, p.&#160;203, <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2F978-0-387-48744-1">10.1007/978-0-387-48744-1</a>, <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-0-387-48908-7" title="Special:BookSources/978-0-387-48908-7"><bdi>978-0-387-48908-7</bdi></a>, <a href="/wiki/MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a>&#160;<a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=2789493">2789493</a></cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=The+Proof+is+in+the+Pudding%3A+The+Changing+Nature+of+Mathematical+Proof&amp;rft.place=New+York&amp;rft.pages=203&amp;rft.pub=Springer&amp;rft.date=2011&amp;rft_id=https%3A%2F%2Fmathscinet.ams.org%2Fmathscinet-getitem%3Fmr%3D2789493%23id-name%3DMR&amp;rft_id=info%3Adoi%2F10.1007%2F978-0-387-48744-1&amp;rft.isbn=978-0-387-48908-7&amp;rft.aulast=Krantz&amp;rft.aufirst=Steven+G.&amp;rft_id=https%3A%2F%2Fbooks.google.com%2Fbooks%3Fid%3DmMZBtxVZiQoC%26pg%3DPA203&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AInteger+factorization" class="Z3988"></span></span> </li> <li id="cite_note-5"><span class="mw-cite-backlink"><b><a href="#cite_ref-5">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFAroraBarak2009" class="citation cs2"><a href="/wiki/Sanjeev_Arora" title="Sanjeev Arora">Arora, Sanjeev</a>; Barak, Boaz (2009), <a rel="nofollow" class="external text" href="https://books.google.com/books?id=nGvI7cOuOOQC&amp;pg=PA230"><i>Computational complexity</i></a>, Cambridge: Cambridge University Press, p.&#160;230, <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1017%2FCBO9780511804090">10.1017/CBO9780511804090</a>, <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-0-521-42426-4" title="Special:BookSources/978-0-521-42426-4"><bdi>978-0-521-42426-4</bdi></a>, <a href="/wiki/MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a>&#160;<a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=2500087">2500087</a>, <a href="/wiki/S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&#160;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:215746906">215746906</a></cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Computational+complexity&amp;rft.place=Cambridge&amp;rft.pages=230&amp;rft.pub=Cambridge+University+Press&amp;rft.date=2009&amp;rft_id=info%3Adoi%2F10.1017%2FCBO9780511804090&amp;rft_id=https%3A%2F%2Fmathscinet.ams.org%2Fmathscinet-getitem%3Fmr%3D2500087%23id-name%3DMR&amp;rft_id=https%3A%2F%2Fapi.semanticscholar.org%2FCorpusID%3A215746906%23id-name%3DS2CID&amp;rft.isbn=978-0-521-42426-4&amp;rft.aulast=Arora&amp;rft.aufirst=Sanjeev&amp;rft.au=Barak%2C+Boaz&amp;rft_id=https%3A%2F%2Fbooks.google.com%2Fbooks%3Fid%3DnGvI7cOuOOQC%26pg%3DPA230&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AInteger+factorization" class="Z3988"></span></span> </li> <li id="cite_note-6"><span class="mw-cite-backlink"><b><a href="#cite_ref-6">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFBuhlerLenstraPomerance1993" class="citation book cs1">Buhler, J. P.; Lenstra, H. W. Jr.; Pomerance, Carl (1993). "Factoring integers with the number field sieve". <a rel="nofollow" class="external text" href="https://doi.org/10.1007/BFb0091539"><i>The development of the number field sieve</i></a>. Lecture Notes in Mathematics. Vol.&#160;1554. Springer. pp.&#160;50–94. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2FBFb0091539">10.1007/BFb0091539</a>. <a href="/wiki/Hdl_(identifier)" class="mw-redirect" title="Hdl (identifier)">hdl</a>:<a rel="nofollow" class="external text" href="https://hdl.handle.net/1887%2F2149">1887/2149</a>. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-3-540-57013-4" title="Special:BookSources/978-3-540-57013-4"><bdi>978-3-540-57013-4</bdi></a><span class="reference-accessdate">. Retrieved <span class="nowrap">12 March</span> 2021</span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=bookitem&amp;rft.atitle=Factoring+integers+with+the+number+field+sieve&amp;rft.btitle=The+development+of+the+number+field+sieve&amp;rft.series=Lecture+Notes+in+Mathematics&amp;rft.pages=50-94&amp;rft.pub=Springer&amp;rft.date=1993&amp;rft_id=info%3Ahdl%2F1887%2F2149&amp;rft_id=info%3Adoi%2F10.1007%2FBFb0091539&amp;rft.isbn=978-3-540-57013-4&amp;rft.aulast=Buhler&amp;rft.aufirst=J.+P.&amp;rft.au=Lenstra%2C+H.+W.+Jr.&amp;rft.au=Pomerance%2C+Carl&amp;rft_id=https%3A%2F%2Fdoi.org%2F10.1007%2FBFb0091539&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AInteger+factorization" class="Z3988"></span></span> </li> <li id="cite_note-7"><span class="mw-cite-backlink"><b><a href="#cite_ref-7">^</a></b></span> <span class="reference-text"> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFVandersypen2001" class="citation journal cs1">Vandersypen, Lieven M. K.; et&#160;al. (2001). "Experimental realization of Shor's quantum factoring algorithm using nuclear magnetic resonance". <i><a href="/wiki/Nature_(journal)" title="Nature (journal)">Nature</a></i>. <b>414</b> (6866): 883–887. <a href="/wiki/ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/quant-ph/0112176">quant-ph/0112176</a></span>. <a href="/wiki/Bibcode_(identifier)" class="mw-redirect" title="Bibcode (identifier)">Bibcode</a>:<a rel="nofollow" class="external text" href="https://ui.adsabs.harvard.edu/abs/2001Natur.414..883V">2001Natur.414..883V</a>. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1038%2F414883a">10.1038/414883a</a>. <a href="/wiki/PMID_(identifier)" class="mw-redirect" title="PMID (identifier)">PMID</a>&#160;<a rel="nofollow" class="external text" href="https://pubmed.ncbi.nlm.nih.gov/11780055">11780055</a>. <a href="/wiki/S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&#160;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:4400832">4400832</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Nature&amp;rft.atitle=Experimental+realization+of+Shor%27s+quantum+factoring+algorithm+using+nuclear+magnetic+resonance&amp;rft.volume=414&amp;rft.issue=6866&amp;rft.pages=883-887&amp;rft.date=2001&amp;rft_id=https%3A%2F%2Fapi.semanticscholar.org%2FCorpusID%3A4400832%23id-name%3DS2CID&amp;rft_id=info%3Abibcode%2F2001Natur.414..883V&amp;rft_id=info%3Aarxiv%2Fquant-ph%2F0112176&amp;rft_id=info%3Apmid%2F11780055&amp;rft_id=info%3Adoi%2F10.1038%2F414883a&amp;rft.aulast=Vandersypen&amp;rft.aufirst=Lieven+M.+K.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AInteger+factorization" class="Z3988"></span></span> </li> <li id="cite_note-8"><span class="mw-cite-backlink"><b><a href="#cite_ref-8">^</a></b></span> <span class="reference-text"> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFLance_Fortnow2002" class="citation web cs1">Lance Fortnow (2002-09-13). <a rel="nofollow" class="external text" href="http://weblog.fortnow.com/2002/09/complexity-class-of-week-factoring.html">"Computational Complexity Blog: Complexity Class of the Week: Factoring"</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=Computational+Complexity+Blog%3A+Complexity+Class+of+the+Week%3A+Factoring&amp;rft.date=2002-09-13&amp;rft.au=Lance+Fortnow&amp;rft_id=http%3A%2F%2Fweblog.fortnow.com%2F2002%2F09%2Fcomplexity-class-of-week-factoring.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AInteger+factorization" class="Z3988"></span></span> </li> <li id="cite_note-9"><span class="mw-cite-backlink"><b><a href="#cite_ref-9">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFGoldreichWigderson2008" class="citation cs2"><a href="/wiki/Oded_Goldreich" title="Oded Goldreich">Goldreich, Oded</a>; <a href="/wiki/Avi_Wigderson" title="Avi Wigderson">Wigderson, Avi</a> (2008), "IV.20 Computational Complexity", in <a href="/wiki/Timothy_Gowers" title="Timothy Gowers">Gowers, Timothy</a>; <a href="/wiki/June_Barrow-Green" title="June Barrow-Green">Barrow-Green, June</a>; <a href="/wiki/Imre_Leader" title="Imre Leader">Leader, Imre</a> (eds.), <i>The Princeton Companion to Mathematics</i>, Princeton, New Jersey: Princeton University Press, pp.&#160;575–604, <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-0-691-11880-2" title="Special:BookSources/978-0-691-11880-2"><bdi>978-0-691-11880-2</bdi></a>, <a href="/wiki/MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a>&#160;<a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=2467561">2467561</a></cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=bookitem&amp;rft.atitle=IV.20+Computational+Complexity&amp;rft.btitle=The+Princeton+Companion+to+Mathematics&amp;rft.place=Princeton%2C+New+Jersey&amp;rft.pages=575-604&amp;rft.pub=Princeton+University+Press&amp;rft.date=2008&amp;rft.isbn=978-0-691-11880-2&amp;rft_id=https%3A%2F%2Fmathscinet.ams.org%2Fmathscinet-getitem%3Fmr%3D2467561%23id-name%3DMR&amp;rft.aulast=Goldreich&amp;rft.aufirst=Oded&amp;rft.au=Wigderson%2C+Avi&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AInteger+factorization" class="Z3988"></span>. See in particular <a rel="nofollow" class="external text" href="https://books.google.com/books?id=ZOfUsvemJDMC&amp;pg=PA583">p.&#160;583</a>.</span> </li> <li id="cite_note-Bressoud_and_Wagon-10"><span class="mw-cite-backlink">^ <a href="#cite_ref-Bressoud_and_Wagon_10-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-Bressoud_and_Wagon_10-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFDavid_Bressoud_and_Stan_Wagon2000" class="citation book cs1"><a href="/wiki/David_Bressoud" title="David Bressoud">David Bressoud</a> and <a href="/wiki/Stan_Wagon" title="Stan Wagon">Stan Wagon</a> (2000). <span class="id-lock-registration" title="Free registration required"><a rel="nofollow" class="external text" href="https://archive.org/details/courseincomputat0000bres/page/168"><i>A Course in Computational Number Theory</i></a></span>. Key College Publishing/Springer. pp.&#160;<a rel="nofollow" class="external text" href="https://archive.org/details/courseincomputat0000bres/page/168">168–69</a>. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-1-930190-10-8" title="Special:BookSources/978-1-930190-10-8"><bdi>978-1-930190-10-8</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=A+Course+in+Computational+Number+Theory&amp;rft.pages=168-69&amp;rft.pub=Key+College+Publishing%2FSpringer&amp;rft.date=2000&amp;rft.isbn=978-1-930190-10-8&amp;rft.au=David+Bressoud+and+Stan+Wagon&amp;rft_id=https%3A%2F%2Farchive.org%2Fdetails%2Fcourseincomputat0000bres%2Fpage%2F168&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AInteger+factorization" class="Z3988"></span></span> </li> <li id="cite_note-1982-schnorr-11"><span class="mw-cite-backlink"><b><a href="#cite_ref-1982-schnorr_11-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFSchnorr1982" class="citation journal cs1">Schnorr, Claus P. (1982). <a rel="nofollow" class="external text" href="https://web.archive.org/web/20170924140543/http://www.dtic.mil/get-tr-doc/pdf?AD=ADA096348">"Refined analysis and improvements on some factoring algorithms"</a>. <i>Journal of Algorithms</i>. <b>3</b> (2): 101–127. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1016%2F0196-6774%2882%2990012-8">10.1016/0196-6774(82)90012-8</a>. <a href="/wiki/MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a>&#160;<a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=0657269">0657269</a>. Archived from <a rel="nofollow" class="external text" href="http://www.dtic.mil/get-tr-doc/pdf?AD=ADA096348">the original</a> on September 24, 2017.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Journal+of+Algorithms&amp;rft.atitle=Refined+analysis+and+improvements+on+some+factoring+algorithms&amp;rft.volume=3&amp;rft.issue=2&amp;rft.pages=101-127&amp;rft.date=1982&amp;rft_id=info%3Adoi%2F10.1016%2F0196-6774%2882%2990012-8&amp;rft_id=https%3A%2F%2Fmathscinet.ams.org%2Fmathscinet-getitem%3Fmr%3D0657269%23id-name%3DMR&amp;rft.aulast=Schnorr&amp;rft.aufirst=Claus+P.&amp;rft_id=http%3A%2F%2Fwww.dtic.mil%2Fget-tr-doc%2Fpdf%3FAD%3DADA096348&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AInteger+factorization" class="Z3988"></span></span> </li> <li id="cite_note-1987-seysen-12"><span class="mw-cite-backlink"><b><a href="#cite_ref-1987-seysen_12-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFSeysen1987" class="citation journal cs1">Seysen, Martin (1987). <a rel="nofollow" class="external text" href="https://doi.org/10.1090%2FS0025-5718-1987-0878705-X">"A probabilistic factorization algorithm with quadratic forms of negative discriminant"</a>. <i>Mathematics of Computation</i>. <b>48</b> (178): 757–780. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1090%2FS0025-5718-1987-0878705-X">10.1090/S0025-5718-1987-0878705-X</a></span>. <a href="/wiki/MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a>&#160;<a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=0878705">0878705</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Mathematics+of+Computation&amp;rft.atitle=A+probabilistic+factorization+algorithm+with+quadratic+forms+of+negative+discriminant&amp;rft.volume=48&amp;rft.issue=178&amp;rft.pages=757-780&amp;rft.date=1987&amp;rft_id=info%3Adoi%2F10.1090%2FS0025-5718-1987-0878705-X&amp;rft_id=https%3A%2F%2Fmathscinet.ams.org%2Fmathscinet-getitem%3Fmr%3D0878705%23id-name%3DMR&amp;rft.aulast=Seysen&amp;rft.aufirst=Martin&amp;rft_id=https%3A%2F%2Fdoi.org%2F10.1090%252FS0025-5718-1987-0878705-X&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AInteger+factorization" class="Z3988"></span></span> </li> <li id="cite_note-1988-lenstra-13"><span class="mw-cite-backlink"><b><a href="#cite_ref-1988-lenstra_13-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFLenstra1988" class="citation journal cs1">Lenstra, Arjen K (1988). <a rel="nofollow" class="external text" href="https://infoscience.epfl.ch/record/164491/files/nscan9.PDF">"Fast and rigorous factorization under the generalized Riemann hypothesis"</a> <span class="cs1-format">(PDF)</span>. <i>Indagationes Mathematicae</i>. <b>50</b> (4): 443–454. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1016%2FS1385-7258%2888%2980022-2">10.1016/S1385-7258(88)80022-2</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Indagationes+Mathematicae&amp;rft.atitle=Fast+and+rigorous+factorization+under+the+generalized+Riemann+hypothesis&amp;rft.volume=50&amp;rft.issue=4&amp;rft.pages=443-454&amp;rft.date=1988&amp;rft_id=info%3Adoi%2F10.1016%2FS1385-7258%2888%2980022-2&amp;rft.aulast=Lenstra&amp;rft.aufirst=Arjen+K&amp;rft_id=https%3A%2F%2Finfoscience.epfl.ch%2Frecord%2F164491%2Ffiles%2Fnscan9.PDF&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AInteger+factorization" class="Z3988"></span></span> </li> <li id="cite_note-lenstra-pomerance-14"><span class="mw-cite-backlink">^ <a href="#cite_ref-lenstra-pomerance_14-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-lenstra-pomerance_14-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFLenstraPomerance1992" class="citation journal cs1">Lenstra, H. W.; Pomerance, Carl (July 1992). <a rel="nofollow" class="external text" href="https://www.ams.org/journals/jams/1992-05-03/S0894-0347-1992-1137100-0/S0894-0347-1992-1137100-0.pdf">"A Rigorous Time Bound for Factoring Integers"</a> <span class="cs1-format">(PDF)</span>. <i>Journal of the American Mathematical Society</i>. <b>5</b> (3): 483–516. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1090%2FS0894-0347-1992-1137100-0">10.1090/S0894-0347-1992-1137100-0</a></span>. <a href="/wiki/MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a>&#160;<a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=1137100">1137100</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Journal+of+the+American+Mathematical+Society&amp;rft.atitle=A+Rigorous+Time+Bound+for+Factoring+Integers&amp;rft.volume=5&amp;rft.issue=3&amp;rft.pages=483-516&amp;rft.date=1992-07&amp;rft_id=info%3Adoi%2F10.1090%2FS0894-0347-1992-1137100-0&amp;rft_id=https%3A%2F%2Fmathscinet.ams.org%2Fmathscinet-getitem%3Fmr%3D1137100%23id-name%3DMR&amp;rft.aulast=Lenstra&amp;rft.aufirst=H.+W.&amp;rft.au=Pomerance%2C+Carl&amp;rft_id=https%3A%2F%2Fwww.ams.org%2Fjournals%2Fjams%2F1992-05-03%2FS0894-0347-1992-1137100-0%2FS0894-0347-1992-1137100-0.pdf&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AInteger+factorization" class="Z3988"></span></span> </li> </ol></div></div> <div class="mw-heading mw-heading2"><h2 id="References">References</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Integer_factorization&amp;action=edit&amp;section=14" title="Edit section: References"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFRichard_Crandall_and_Carl_Pomerance2001" class="citation book cs1"><a href="/wiki/Richard_Crandall" title="Richard Crandall">Richard Crandall</a> and <a href="/wiki/Carl_Pomerance" title="Carl Pomerance">Carl Pomerance</a> (2001). <i>Prime Numbers: A Computational Perspective</i>. Springer. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/0-387-94777-9" title="Special:BookSources/0-387-94777-9"><bdi>0-387-94777-9</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Prime+Numbers%3A+A+Computational+Perspective&amp;rft.pub=Springer&amp;rft.date=2001&amp;rft.isbn=0-387-94777-9&amp;rft.au=Richard+Crandall+and+Carl+Pomerance&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AInteger+factorization" class="Z3988"></span> Chapter 5: Exponential Factoring Algorithms, pp.&#160;191–226. Chapter 6: Subexponential Factoring Algorithms, pp.&#160;227–284. Section 7.4: Elliptic curve method, pp.&#160;301–313.</li> <li><a href="/wiki/Donald_Knuth" title="Donald Knuth">Donald Knuth</a>. <i><a href="/wiki/The_Art_of_Computer_Programming" title="The Art of Computer Programming">The Art of Computer Programming</a></i>, Volume 2: <i>Seminumerical Algorithms</i>, Third Edition. Addison-Wesley, 1997. <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/0-201-89684-2" title="Special:BookSources/0-201-89684-2">0-201-89684-2</a>. Section 4.5.4: Factoring into Primes, pp.&#160;379–417.</li> <li><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFSamuel_S._Wagstaff_Jr.2013" class="citation book cs1"><a href="/wiki/Samuel_S._Wagstaff_Jr." title="Samuel S. Wagstaff Jr.">Samuel S. Wagstaff Jr.</a> (2013). <a rel="nofollow" class="external text" href="https://www.ams.org/bookpages/stml-68"><i>The Joy of Factoring</i></a>. Providence, RI: American Mathematical Society. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-1-4704-1048-3" title="Special:BookSources/978-1-4704-1048-3"><bdi>978-1-4704-1048-3</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=The+Joy+of+Factoring&amp;rft.place=Providence%2C+RI&amp;rft.pub=American+Mathematical+Society&amp;rft.date=2013&amp;rft.isbn=978-1-4704-1048-3&amp;rft.au=Samuel+S.+Wagstaff+Jr.&amp;rft_id=https%3A%2F%2Fwww.ams.org%2Fbookpages%2Fstml-68&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AInteger+factorization" class="Z3988"></span>.</li> <li><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFWarren2013" class="citation book cs1">Warren, Henry S. Jr. (2013). <i><a href="/wiki/Hacker%27s_Delight" title="Hacker&#39;s Delight">Hacker's Delight</a></i> (2&#160;ed.). <a href="/wiki/Addison_Wesley" class="mw-redirect" title="Addison Wesley">Addison Wesley</a> - <a href="/wiki/Pearson_Education,_Inc." class="mw-redirect" title="Pearson Education, Inc.">Pearson Education, Inc.</a> <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-0-321-84268-8" title="Special:BookSources/978-0-321-84268-8"><bdi>978-0-321-84268-8</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Hacker%27s+Delight&amp;rft.edition=2&amp;rft.pub=Addison+Wesley+-+Pearson+Education%2C+Inc.&amp;rft.date=2013&amp;rft.isbn=978-0-321-84268-8&amp;rft.aulast=Warren&amp;rft.aufirst=Henry+S.+Jr.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AInteger+factorization" class="Z3988"></span></li></ul> <div class="mw-heading mw-heading2"><h2 id="External_links">External links</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Integer_factorization&amp;action=edit&amp;section=15" title="Edit section: External links"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a rel="nofollow" class="external text" href="http://sourceforge.net/projects/msieve/">msieve</a> – SIQS and NFS – has helped complete some of the largest public factorizations known</li> <li>Richard P. Brent, "Recent Progress and Prospects for Integer Factorisation Algorithms", <i>Computing and Combinatorics"</i>, 2000, pp.&#160;3–22. <a rel="nofollow" class="external text" href="http://citeseer.ist.psu.edu/327036.html">download</a></li> <li><a href="/wiki/Manindra_Agrawal" title="Manindra Agrawal">Manindra Agrawal</a>, Neeraj Kayal, Nitin Saxena, "PRIMES is in P." Annals of Mathematics 160(2): 781–793 (2004). <a rel="nofollow" class="external text" href="http://www.cse.iitk.ac.in/users/manindra/algebra/primality_v6.pdf">August 2005 version PDF</a></li> <li>Eric W. Weisstein, <a rel="nofollow" class="external text" href="http://mathworld.wolfram.com/news/2005-11-08/rsa-640/">“RSA-640 Factored” <i>MathWorld Headline News</i>, November 8, 2005</a></li> <li><a rel="nofollow" class="external text" href="https://www.alpertron.com.ar/ECM.HTM">Dario Alpern's Integer factorization calculator</a> – A web app for factoring large integers</li></ul> <div class="navbox-styles"><style data-mw-deduplicate="TemplateStyles:r1129693374">.mw-parser-output .hlist dl,.mw-parser-output .hlist ol,.mw-parser-output .hlist ul{margin:0;padding:0}.mw-parser-output .hlist dd,.mw-parser-output .hlist dt,.mw-parser-output .hlist li{margin:0;display:inline}.mw-parser-output .hlist.inline,.mw-parser-output .hlist.inline dl,.mw-parser-output .hlist.inline ol,.mw-parser-output .hlist.inline ul,.mw-parser-output .hlist dl dl,.mw-parser-output .hlist dl ol,.mw-parser-output .hlist dl ul,.mw-parser-output .hlist ol dl,.mw-parser-output .hlist ol ol,.mw-parser-output .hlist ol ul,.mw-parser-output .hlist ul dl,.mw-parser-output .hlist ul ol,.mw-parser-output .hlist ul ul{display:inline}.mw-parser-output .hlist .mw-empty-li{display:none}.mw-parser-output .hlist dt::after{content:": "}.mw-parser-output .hlist dd::after,.mw-parser-output .hlist li::after{content:" · ";font-weight:bold}.mw-parser-output .hlist dd:last-child::after,.mw-parser-output .hlist dt:last-child::after,.mw-parser-output .hlist li:last-child::after{content:none}.mw-parser-output .hlist dd dd:first-child::before,.mw-parser-output .hlist dd dt:first-child::before,.mw-parser-output .hlist dd li:first-child::before,.mw-parser-output .hlist dt dd:first-child::before,.mw-parser-output .hlist dt dt:first-child::before,.mw-parser-output .hlist dt li:first-child::before,.mw-parser-output .hlist li dd:first-child::before,.mw-parser-output .hlist li dt:first-child::before,.mw-parser-output .hlist li li:first-child::before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child::after,.mw-parser-output .hlist dd dt:last-child::after,.mw-parser-output .hlist dd li:last-child::after,.mw-parser-output .hlist dt dd:last-child::after,.mw-parser-output .hlist dt dt:last-child::after,.mw-parser-output .hlist dt li:last-child::after,.mw-parser-output .hlist li dd:last-child::after,.mw-parser-output .hlist li dt:last-child::after,.mw-parser-output .hlist li li:last-child::after{content:")";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li::before{content:" "counter(listitem)"\a0 "}.mw-parser-output .hlist dd ol>li:first-child::before,.mw-parser-output .hlist dt ol>li:first-child::before,.mw-parser-output .hlist li ol>li:first-child::before{content:" ("counter(listitem)"\a0 "}</style><style data-mw-deduplicate="TemplateStyles:r1236075235">.mw-parser-output .navbox{box-sizing:border-box;border:1px solid #a2a9b1;width:100%;clear:both;font-size:88%;text-align:center;padding:1px;margin:1em auto 0}.mw-parser-output .navbox .navbox{margin-top:0}.mw-parser-output .navbox+.navbox,.mw-parser-output .navbox+.navbox-styles+.navbox{margin-top:-1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox-group,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{padding:0.25em 1em;line-height:1.5em;text-align:center}.mw-parser-output .navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background-color:#fdfdfd}.mw-parser-output .navbox-list{line-height:1.5em;border-color:#fdfdfd}.mw-parser-output .navbox-list-with-group{text-align:left;border-left-width:2px;border-left-style:solid}.mw-parser-output tr+tr>.navbox-abovebelow,.mw-parser-output tr+tr>.navbox-group,.mw-parser-output tr+tr>.navbox-image,.mw-parser-output tr+tr>.navbox-list{border-top:2px solid #fdfdfd}.mw-parser-output .navbox-title{background-color:#ccf}.mw-parser-output .navbox-abovebelow,.mw-parser-output .navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background-color:#ddf}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background-color:#e6e6ff}.mw-parser-output .navbox-even{background-color:#f7f7f7}.mw-parser-output .navbox-odd{background-color:transparent}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}body.skin--responsive .mw-parser-output .navbox-image img{max-width:none!important}@media print{body.ns-0 .mw-parser-output .navbox{display:none!important}}</style></div><div role="navigation" class="navbox" aria-labelledby="Computational_hardness_assumptions" style="padding:3px"><table class="nowraplinks hlist mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><style data-mw-deduplicate="TemplateStyles:r1239400231">.mw-parser-output .navbar{display:inline;font-size:88%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar a>span,.mw-parser-output .navbar a>abbr{text-decoration:inherit}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}html.skin-theme-clientpref-night .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}@media(prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}}@media print{.mw-parser-output .navbar{display:none!important}}</style><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:Computational_hardness_assumptions" title="Template:Computational hardness assumptions"><abbr title="View this template">v</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:Computational_hardness_assumptions" title="Template talk:Computational hardness assumptions"><abbr title="Discuss this template">t</abbr></a></li><li class="nv-edit"><a href="/wiki/Special:EditPage/Template:Computational_hardness_assumptions" title="Special:EditPage/Template:Computational hardness assumptions"><abbr title="Edit this template">e</abbr></a></li></ul></div><div id="Computational_hardness_assumptions" style="font-size:114%;margin:0 4em"><a href="/wiki/Computational_hardness_assumption" title="Computational hardness assumption">Computational hardness assumptions</a></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">Number theoretic</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a class="mw-selflink selflink">Integer factorization</a></li> <li><a href="/wiki/Phi-hiding_assumption" title="Phi-hiding assumption">Phi-hiding</a></li> <li><a href="/wiki/RSA_problem" title="RSA problem">RSA problem</a></li> <li><a href="/wiki/Strong_RSA_assumption" title="Strong RSA assumption">Strong RSA</a></li> <li><a href="/wiki/Quadratic_residuosity_problem" title="Quadratic residuosity problem">Quadratic residuosity</a></li> <li><a href="/wiki/Decisional_composite_residuosity_assumption" title="Decisional composite residuosity assumption">Decisional composite residuosity</a></li> <li><a href="/wiki/Higher_residuosity_problem" title="Higher residuosity problem">Higher residuosity</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Group theoretic</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Discrete_logarithm#Cryptography" title="Discrete logarithm">Discrete logarithm</a></li> <li><a href="/wiki/Diffie%E2%80%93Hellman_problem" title="Diffie–Hellman problem">Diffie-Hellman</a></li> <li><a href="/wiki/Decisional_Diffie%E2%80%93Hellman_assumption" title="Decisional Diffie–Hellman assumption">Decisional Diffie–Hellman</a></li> <li><a href="/wiki/Computational_Diffie%E2%80%93Hellman_assumption" title="Computational Diffie–Hellman assumption">Computational Diffie–Hellman</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Pairings</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/XDH_assumption" title="XDH assumption">External Diffie–Hellman</a></li> <li><a href="/wiki/Sub-group_hiding" title="Sub-group hiding">Sub-group hiding</a></li> <li><a href="/wiki/Decision_Linear_assumption" title="Decision Linear assumption">Decision linear</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Lattices</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Lattice_problem#Shortest_vector_problem_(SVP)" title="Lattice problem">Shortest vector problem</a> (<a href="/wiki/Lattice_problem#GapSVP" title="Lattice problem">gap</a>)</li> <li><a href="/wiki/Lattice_problem#Closest_vector_problem_(CVP)" title="Lattice problem">Closest vector problem</a> (<a href="/wiki/Lattice_problem#GapCVP" title="Lattice problem">gap</a>)</li> <li><a href="/wiki/Learning_with_errors" title="Learning with errors">Learning with errors</a></li> <li><a href="/wiki/Ring_learning_with_errors" title="Ring learning with errors">Ring learning with errors</a></li> <li><a href="/wiki/Short_integer_solution_problem" title="Short integer solution problem">Short integer solution</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Non-cryptographic</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Exponential_time_hypothesis" title="Exponential time hypothesis">Exponential time hypothesis</a></li> <li><a href="/wiki/Unique_games_conjecture" title="Unique games conjecture">Unique games conjecture</a></li> <li><a href="/wiki/Planted_clique" title="Planted clique">Planted clique conjecture</a></li></ul> </div></td></tr></tbody></table></div> <div class="navbox-styles"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236075235"></div><div role="navigation" class="navbox" aria-labelledby="Number-theoretic_algorithms" style="padding:3px"><table class="nowraplinks mw-collapsible mw-collapsed navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1239400231"><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:Number-theoretic_algorithms" title="Template:Number-theoretic algorithms"><abbr title="View this template">v</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:Number-theoretic_algorithms" title="Template talk:Number-theoretic algorithms"><abbr title="Discuss this template">t</abbr></a></li><li class="nv-edit"><a href="/wiki/Special:EditPage/Template:Number-theoretic_algorithms" title="Special:EditPage/Template:Number-theoretic algorithms"><abbr title="Edit this template">e</abbr></a></li></ul></div><div id="Number-theoretic_algorithms" style="font-size:114%;margin:0 4em"><a href="/wiki/Number_theory" title="Number theory">Number-theoretic</a> <a href="/wiki/Algorithm" title="Algorithm">algorithms</a></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Primality_test" title="Primality test">Primality tests</a></th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/AKS_primality_test" title="AKS primality test">AKS</a></li> <li><a href="/wiki/Adleman%E2%80%93Pomerance%E2%80%93Rumely_primality_test" title="Adleman–Pomerance–Rumely primality test">APR</a></li> <li><a href="/wiki/Baillie%E2%80%93PSW_primality_test" title="Baillie–PSW primality test">Baillie–PSW</a></li> <li><a href="/wiki/Elliptic_curve_primality" title="Elliptic curve primality">Elliptic curve</a></li> <li><a href="/wiki/Pocklington_primality_test" title="Pocklington primality test">Pocklington</a></li> <li><a href="/wiki/Fermat_primality_test" title="Fermat primality test">Fermat</a></li> <li><a href="/wiki/Lucas_primality_test" title="Lucas primality test">Lucas</a></li> <li><i><a href="/wiki/Lucas%E2%80%93Lehmer_primality_test" title="Lucas–Lehmer primality test">Lucas–Lehmer</a></i></li> <li><i><a href="/wiki/Lucas%E2%80%93Lehmer%E2%80%93Riesel_test" title="Lucas–Lehmer–Riesel test">Lucas–Lehmer–Riesel</a></i></li> <li><i><a href="/wiki/Proth%27s_theorem" title="Proth&#39;s theorem">Proth's theorem</a></i></li> <li><i><a href="/wiki/P%C3%A9pin%27s_test" title="Pépin&#39;s test">Pépin's</a></i></li> <li><a href="/wiki/Quadratic_Frobenius_test" title="Quadratic Frobenius test">Quadratic Frobenius</a></li> <li><a href="/wiki/Solovay%E2%80%93Strassen_primality_test" title="Solovay–Strassen primality test">Solovay–Strassen</a></li> <li><a href="/wiki/Miller%E2%80%93Rabin_primality_test" title="Miller–Rabin primality test">Miller–Rabin</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Generating_primes" class="mw-redirect" title="Generating primes">Prime-generating</a></th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Sieve_of_Atkin" title="Sieve of Atkin">Sieve of Atkin</a></li> <li><a href="/wiki/Sieve_of_Eratosthenes" title="Sieve of Eratosthenes">Sieve of Eratosthenes</a></li> <li><a href="/wiki/Sieve_of_Pritchard" title="Sieve of Pritchard">Sieve of Pritchard</a></li> <li><a href="/wiki/Sieve_of_Sundaram" title="Sieve of Sundaram">Sieve of Sundaram</a></li> <li><a href="/wiki/Wheel_factorization" title="Wheel factorization">Wheel factorization</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a class="mw-selflink selflink">Integer factorization</a></th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Continued_fraction_factorization" title="Continued fraction factorization">Continued fraction (CFRAC)</a></li> <li><a href="/wiki/Dixon%27s_factorization_method" title="Dixon&#39;s factorization method">Dixon's</a></li> <li><a href="/wiki/Lenstra_elliptic-curve_factorization" title="Lenstra elliptic-curve factorization">Lenstra elliptic curve (ECM)</a></li> <li><a href="/wiki/Euler%27s_factorization_method" title="Euler&#39;s factorization method">Euler's</a></li> <li><a href="/wiki/Pollard%27s_rho_algorithm" title="Pollard&#39;s rho algorithm">Pollard's rho</a></li> <li><a href="/wiki/Pollard%27s_p_%E2%88%92_1_algorithm" title="Pollard&#39;s p − 1 algorithm"><i>p</i> − 1</a></li> <li><a href="/wiki/Williams%27s_p_%2B_1_algorithm" title="Williams&#39;s p + 1 algorithm"><i>p</i> + 1</a></li> <li><a href="/wiki/Quadratic_sieve" title="Quadratic sieve">Quadratic sieve (QS)</a></li> <li><a href="/wiki/General_number_field_sieve" title="General number field sieve">General number field sieve (GNFS)</a></li> <li><i><a href="/wiki/Special_number_field_sieve" title="Special number field sieve">Special number field sieve (SNFS)</a></i></li> <li><a href="/wiki/Rational_sieve" title="Rational sieve">Rational sieve</a></li> <li><a href="/wiki/Fermat%27s_factorization_method" title="Fermat&#39;s factorization method">Fermat's</a></li> <li><a href="/wiki/Shanks%27s_square_forms_factorization" title="Shanks&#39;s square forms factorization">Shanks's square forms</a></li> <li><a href="/wiki/Trial_division" title="Trial division">Trial division</a></li> <li><a href="/wiki/Shor%27s_algorithm" title="Shor&#39;s algorithm">Shor's</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Multiplication_algorithm" title="Multiplication algorithm">Multiplication</a></th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Ancient_Egyptian_multiplication" title="Ancient Egyptian multiplication">Ancient Egyptian</a></li> <li><a href="/wiki/Long_multiplication" class="mw-redirect" title="Long multiplication">Long</a></li> <li><a href="/wiki/Karatsuba_algorithm" title="Karatsuba algorithm">Karatsuba</a></li> <li><a href="/wiki/Toom%E2%80%93Cook_multiplication" title="Toom–Cook multiplication">Toom–Cook</a></li> <li><a href="/wiki/Sch%C3%B6nhage%E2%80%93Strassen_algorithm" title="Schönhage–Strassen algorithm">Schönhage–Strassen</a></li> <li><a href="/wiki/F%C3%BCrer%27s_algorithm" class="mw-redirect" title="Fürer&#39;s algorithm">Fürer's</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Euclidean_division" title="Euclidean division">Euclidean</a> <a href="/wiki/Division_algorithm" title="Division algorithm">division</a></th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Binary_division" class="mw-redirect" title="Binary division">Binary</a></li> <li><a href="/wiki/Chunking_(division)" title="Chunking (division)">Chunking</a></li> <li><a href="/wiki/Fourier_division" title="Fourier division">Fourier</a></li> <li><a href="/wiki/Goldschmidt_division" class="mw-redirect" title="Goldschmidt division">Goldschmidt</a></li> <li><a href="/wiki/Newton%E2%80%93Raphson_division" class="mw-redirect" title="Newton–Raphson division">Newton-Raphson</a></li> <li><a href="/wiki/Long_division" title="Long division">Long</a></li> <li><a href="/wiki/Short_division" title="Short division">Short</a></li> <li><a href="/wiki/SRT_division" class="mw-redirect" title="SRT division">SRT</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Discrete_logarithm" title="Discrete logarithm">Discrete logarithm</a></th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Baby-step_giant-step" title="Baby-step giant-step">Baby-step giant-step</a></li> <li><a href="/wiki/Pollard%27s_rho_algorithm_for_logarithms" title="Pollard&#39;s rho algorithm for logarithms">Pollard rho</a></li> <li><a href="/wiki/Pollard%27s_kangaroo_algorithm" title="Pollard&#39;s kangaroo algorithm">Pollard kangaroo</a></li> <li><a href="/wiki/Pohlig%E2%80%93Hellman_algorithm" title="Pohlig–Hellman algorithm">Pohlig–Hellman</a></li> <li><a href="/wiki/Index_calculus_algorithm" title="Index calculus algorithm">Index calculus</a></li> <li><a href="/wiki/Function_field_sieve" title="Function field sieve">Function field sieve</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Greatest_common_divisor" title="Greatest common divisor">Greatest common divisor</a></th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Binary_GCD_algorithm" title="Binary GCD algorithm">Binary</a></li> <li><a href="/wiki/Euclidean_algorithm" title="Euclidean algorithm">Euclidean</a></li> <li><a href="/wiki/Extended_Euclidean_algorithm" title="Extended Euclidean algorithm">Extended Euclidean</a></li> <li><a href="/wiki/Lehmer%27s_GCD_algorithm" title="Lehmer&#39;s GCD algorithm">Lehmer's</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Quadratic_residue" title="Quadratic residue">Modular square root</a></th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Cipolla%27s_algorithm" title="Cipolla&#39;s algorithm">Cipolla</a></li> <li><a href="/wiki/Pocklington%27s_algorithm" title="Pocklington&#39;s algorithm">Pocklington's</a></li> <li><a href="/wiki/Tonelli%E2%80%93Shanks_algorithm" title="Tonelli–Shanks algorithm">Tonelli–Shanks</a></li> <li><a href="/wiki/Berlekamp%E2%80%93Rabin_algorithm" title="Berlekamp–Rabin algorithm">Berlekamp</a></li> <li><a href="/wiki/Kunerth%27s_algorithm" title="Kunerth&#39;s algorithm">Kunerth</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Other algorithms</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Chakravala_method" title="Chakravala method">Chakravala</a></li> <li><a href="/wiki/Cornacchia%27s_algorithm" title="Cornacchia&#39;s algorithm">Cornacchia</a></li> <li><a href="/wiki/Exponentiation_by_squaring" title="Exponentiation by squaring">Exponentiation by squaring</a></li> <li><a href="/wiki/Integer_square_root" title="Integer square root">Integer square root</a></li> <li><a href="/wiki/Integer_relation_algorithm" title="Integer relation algorithm">Integer relation</a> (<a href="/wiki/Lenstra%E2%80%93Lenstra%E2%80%93Lov%C3%A1sz_lattice_basis_reduction_algorithm" title="Lenstra–Lenstra–Lovász lattice basis reduction algorithm">LLL</a>; <a href="/wiki/Korkine%E2%80%93Zolotarev_lattice_basis_reduction_algorithm" title="Korkine–Zolotarev lattice basis reduction algorithm">KZ</a>)</li> <li><a href="/wiki/Modular_exponentiation" title="Modular exponentiation">Modular exponentiation</a></li> <li><a href="/wiki/Montgomery_reduction" class="mw-redirect" title="Montgomery reduction">Montgomery reduction</a></li> <li><a href="/wiki/Schoof%27s_algorithm" title="Schoof&#39;s algorithm">Schoof</a></li> <li><a href="/wiki/Trachtenberg_system" title="Trachtenberg system">Trachtenberg system</a></li></ul> </div></td></tr><tr><td class="navbox-abovebelow hlist" colspan="2"><div> <ul><li><i>Italics</i> indicate that algorithm is for numbers of special forms</li></ul> </div></td></tr></tbody></table></div> <div class="navbox-styles"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236075235"></div><div role="navigation" class="navbox" aria-labelledby="Divisibility-based_sets_of_integers" style="padding:3px"><table class="nowraplinks mw-collapsible mw-collapsed navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="3"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1239400231"><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:Divisor_classes" title="Template:Divisor classes"><abbr title="View this template">v</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:Divisor_classes" title="Template talk:Divisor classes"><abbr title="Discuss this template">t</abbr></a></li><li class="nv-edit"><a href="/wiki/Special:EditPage/Template:Divisor_classes" title="Special:EditPage/Template:Divisor classes"><abbr title="Edit this template">e</abbr></a></li></ul></div><div id="Divisibility-based_sets_of_integers" style="font-size:114%;margin:0 4em">Divisibility-based sets of integers</div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">Overview</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a class="mw-selflink selflink">Integer factorization</a></li> <li><a href="/wiki/Divisor" title="Divisor">Divisor</a></li> <li><a href="/wiki/Unitary_divisor" title="Unitary divisor">Unitary divisor</a></li> <li><a href="/wiki/Divisor_function" title="Divisor function">Divisor function</a></li> <li><a href="/wiki/Prime_factor" class="mw-redirect" title="Prime factor">Prime factor</a></li> <li><a href="/wiki/Fundamental_theorem_of_arithmetic" title="Fundamental theorem of arithmetic">Fundamental theorem of arithmetic</a></li></ul> </div></td><td class="noviewer navbox-image" rowspan="7" style="width:1px;padding:0 0 0 2px"><div><span typeof="mw:File"><a href="/wiki/File:Lattice_of_the_divisibility_of_60.svg" class="mw-file-description" title="Divisibility of 60"><img alt="Divisibility of 60" src="//upload.wikimedia.org/wikipedia/commons/thumb/5/51/Lattice_of_the_divisibility_of_60.svg/175px-Lattice_of_the_divisibility_of_60.svg.png" decoding="async" width="175" height="140" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/5/51/Lattice_of_the_divisibility_of_60.svg/263px-Lattice_of_the_divisibility_of_60.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/5/51/Lattice_of_the_divisibility_of_60.svg/350px-Lattice_of_the_divisibility_of_60.svg.png 2x" data-file-width="313" data-file-height="250" /></a></span></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Factorization forms</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Prime_number" title="Prime number">Prime</a></li> <li><a href="/wiki/Composite_number" title="Composite number">Composite</a></li> <li><a href="/wiki/Semiprime" title="Semiprime">Semiprime</a></li> <li><a href="/wiki/Pronic_number" title="Pronic number">Pronic</a></li> <li><a href="/wiki/Sphenic_number" title="Sphenic number">Sphenic</a></li> <li><a href="/wiki/Square-free_integer" title="Square-free integer">Square-free</a></li> <li><a href="/wiki/Powerful_number" title="Powerful number">Powerful</a></li> <li><a href="/wiki/Perfect_power" title="Perfect power">Perfect power</a></li> <li><a href="/wiki/Achilles_number" title="Achilles number">Achilles</a></li> <li><a href="/wiki/Smooth_number" title="Smooth number">Smooth</a></li> <li><a href="/wiki/Regular_number" title="Regular number">Regular</a></li> <li><a href="/wiki/Rough_number" title="Rough number">Rough</a></li> <li><a href="/wiki/Unusual_number" title="Unusual number">Unusual</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Constrained divisor sums</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Perfect_number" title="Perfect number">Perfect</a></li> <li><a href="/wiki/Almost_perfect_number" title="Almost perfect number">Almost perfect</a></li> <li><a href="/wiki/Quasiperfect_number" title="Quasiperfect number">Quasiperfect</a></li> <li><a href="/wiki/Multiply_perfect_number" title="Multiply perfect number">Multiply perfect</a></li> <li><a href="/wiki/Hemiperfect_number" title="Hemiperfect number">Hemiperfect</a></li> <li><a href="/wiki/Hyperperfect_number" title="Hyperperfect number">Hyperperfect</a></li> <li><a href="/wiki/Superperfect_number" title="Superperfect number">Superperfect</a></li> <li><a href="/wiki/Unitary_perfect_number" title="Unitary perfect number">Unitary perfect</a></li> <li><a href="/wiki/Semiperfect_number" title="Semiperfect number">Semiperfect</a></li> <li><a href="/wiki/Practical_number" title="Practical number">Practical</a></li> <li><a href="/wiki/Descartes_number" title="Descartes number">Descartes</a></li> <li><a href="/wiki/Erd%C5%91s%E2%80%93Nicolas_number" title="Erdős–Nicolas number">Erdős–Nicolas</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">With many divisors</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Abundant_number" title="Abundant number">Abundant</a></li> <li><a href="/wiki/Primitive_abundant_number" title="Primitive abundant number">Primitive abundant</a></li> <li><a href="/wiki/Highly_abundant_number" title="Highly abundant number">Highly abundant</a></li> <li><a href="/wiki/Superabundant_number" title="Superabundant number">Superabundant</a></li> <li><a href="/wiki/Colossally_abundant_number" title="Colossally abundant number">Colossally abundant</a></li> <li><a href="/wiki/Highly_composite_number" title="Highly composite number">Highly composite</a></li> <li><a href="/wiki/Superior_highly_composite_number" title="Superior highly composite number">Superior highly composite</a></li> <li><a href="/wiki/Weird_number" title="Weird number">Weird</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Aliquot_sequence" title="Aliquot sequence">Aliquot sequence</a>-related</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Untouchable_number" title="Untouchable number">Untouchable</a></li> <li><a href="/wiki/Amicable_numbers" title="Amicable numbers">Amicable</a> (<a href="/wiki/Amicable_triple" title="Amicable triple">Triple</a>)</li> <li><a href="/wiki/Sociable_number" title="Sociable number">Sociable</a></li> <li><a href="/wiki/Betrothed_numbers" title="Betrothed numbers">Betrothed</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Radix" title="Radix">Base</a>-dependent</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Equidigital_number" title="Equidigital number">Equidigital</a></li> <li><a href="/wiki/Extravagant_number" title="Extravagant number">Extravagant</a></li> <li><a href="/wiki/Frugal_number" title="Frugal number">Frugal</a></li> <li><a href="/wiki/Harshad_number" title="Harshad number">Harshad</a></li> <li><a href="/wiki/Polydivisible_number" title="Polydivisible number">Polydivisible</a></li> <li><a href="/wiki/Smith_number" title="Smith number">Smith</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Other sets</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Arithmetic_number" title="Arithmetic number">Arithmetic</a></li> <li><a href="/wiki/Deficient_number" title="Deficient number">Deficient</a></li> <li><a href="/wiki/Friendly_number" title="Friendly number">Friendly</a></li> <li><a href="/wiki/Friendly_number#Solitary_numbers" title="Friendly number">Solitary</a></li> <li><a href="/wiki/Sublime_number" title="Sublime number">Sublime</a></li> <li><a href="/wiki/Harmonic_divisor_number" title="Harmonic divisor number">Harmonic divisor</a></li> <li><a href="/wiki/Refactorable_number" title="Refactorable number">Refactorable</a></li> <li><a href="/wiki/Superperfect_number" title="Superperfect number">Superperfect</a></li></ul> </div></td></tr></tbody></table></div> <div class="navbox-styles"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236075235"></div><div role="navigation" class="navbox authority-control" aria-label="Navbox" style="padding:3px"><table class="nowraplinks hlist navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Help:Authority_control" title="Help:Authority control">Authority control databases</a>: National <span class="mw-valign-text-top noprint" typeof="mw:File/Frameless"><a href="https://www.wikidata.org/wiki/Q4846249#identifiers" title="Edit this at Wikidata"><img alt="Edit this at Wikidata" src="//upload.wikimedia.org/wikipedia/en/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/10px-OOjs_UI_icon_edit-ltr-progressive.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/15px-OOjs_UI_icon_edit-ltr-progressive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/20px-OOjs_UI_icon_edit-ltr-progressive.svg.png 2x" data-file-width="20" data-file-height="20" /></a></span></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"><ul><li><span class="uid"><a rel="nofollow" class="external text" href="https://d-nb.info/gnd/4175717-8">Germany</a></span></li></ul></div></td></tr></tbody></table></div> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐f69cdc8f6‐nd6xd Cached time: 20241122141440 Cache expiry: 2592000 Reduced expiry: false Complications: [vary‐revision‐sha1, show‐toc] CPU time usage: 0.656 seconds Real time usage: 0.838 seconds Preprocessor visited node count: 6657/1000000 Post‐expand include size: 118392/2097152 bytes Template argument size: 11599/2097152 bytes Highest expansion depth: 15/100 Expensive parser function count: 5/500 Unstrip recursion depth: 1/20 Unstrip post‐expand size: 100037/5000000 bytes Lua time usage: 0.329/10.000 seconds Lua memory usage: 5918905/52428800 bytes Number of Wikibase entities loaded: 1/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 658.471 1 -total 29.41% 193.649 1 Template:Reflist 20.57% 135.462 91 Template:Math 15.51% 102.137 4 Template:Citation 13.25% 87.234 3 Template:Navbox 12.55% 82.633 1 Template:Computational_hardness_assumptions 11.03% 72.641 1 Template:Short_description 7.23% 47.618 2 Template:Pagetype 5.17% 34.050 5 Template:Cite_book 5.06% 33.344 1 Template:Ordered_list --> <!-- Saved in parser cache with key enwiki:pcache:idhash:15491-0!canonical and timestamp 20241122141440 and revision id 1243964561. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://en.wikipedia.org/w/index.php?title=Integer_factorization&amp;oldid=1243964561">https://en.wikipedia.org/w/index.php?title=Integer_factorization&amp;oldid=1243964561</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Help:Category" title="Help:Category">Categories</a>: <ul><li><a href="/wiki/Category:Integer_factorization_algorithms" title="Category:Integer factorization algorithms">Integer factorization algorithms</a></li><li><a href="/wiki/Category:Computational_hardness_assumptions" title="Category:Computational hardness assumptions">Computational hardness assumptions</a></li><li><a href="/wiki/Category:Unsolved_problems_in_computer_science" title="Category:Unsolved problems in computer science">Unsolved problems in computer science</a></li><li><a href="/wiki/Category:Factorization" title="Category:Factorization">Factorization</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Hidden categories: <ul><li><a href="/wiki/Category:Articles_with_short_description" title="Category:Articles with short description">Articles with short description</a></li><li><a href="/wiki/Category:Short_description_matches_Wikidata" title="Category:Short description matches Wikidata">Short description matches Wikidata</a></li><li><a href="/wiki/Category:Articles_containing_potentially_dated_statements_from_2022" title="Category:Articles containing potentially dated statements from 2022">Articles containing potentially dated statements from 2022</a></li><li><a href="/wiki/Category:All_articles_containing_potentially_dated_statements" title="Category:All articles containing potentially dated statements">All articles containing potentially dated statements</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 4 September 2024, at 10:09<span class="anonymous-show">&#160;(UTC)</span>.</li> <li id="footer-info-copyright">Text is available under the <a href="/wiki/Wikipedia:Text_of_the_Creative_Commons_Attribution-ShareAlike_4.0_International_License" title="Wikipedia:Text of the Creative Commons Attribution-ShareAlike 4.0 International License">Creative Commons Attribution-ShareAlike 4.0 License</a>; additional terms may apply. By using this site, you agree to the <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use" class="extiw" title="foundation:Special:MyLanguage/Policy:Terms of Use">Terms of Use</a> and <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy" class="extiw" title="foundation:Special:MyLanguage/Policy:Privacy policy">Privacy Policy</a>. Wikipedia® is a registered trademark of the <a rel="nofollow" class="external text" href="https://wikimediafoundation.org/">Wikimedia Foundation, Inc.</a>, a non-profit organization.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:About">About Wikipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:General_disclaimer">Disclaimers</a></li> <li id="footer-places-contact"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us">Contact Wikipedia</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/en.wikipedia.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//en.m.wikipedia.org/w/index.php?title=Integer_factorization&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-f69cdc8f6-txx8l","wgBackendResponseTime":141,"wgPageParseReport":{"limitreport":{"cputime":"0.656","walltime":"0.838","ppvisitednodes":{"value":6657,"limit":1000000},"postexpandincludesize":{"value":118392,"limit":2097152},"templateargumentsize":{"value":11599,"limit":2097152},"expansiondepth":{"value":15,"limit":100},"expensivefunctioncount":{"value":5,"limit":500},"unstrip-depth":{"value":1,"limit":20},"unstrip-size":{"value":100037,"limit":5000000},"entityaccesscount":{"value":1,"limit":400},"timingprofile":["100.00% 658.471 1 -total"," 29.41% 193.649 1 Template:Reflist"," 20.57% 135.462 91 Template:Math"," 15.51% 102.137 4 Template:Citation"," 13.25% 87.234 3 Template:Navbox"," 12.55% 82.633 1 Template:Computational_hardness_assumptions"," 11.03% 72.641 1 Template:Short_description"," 7.23% 47.618 2 Template:Pagetype"," 5.17% 34.050 5 Template:Cite_book"," 5.06% 33.344 1 Template:Ordered_list"]},"scribunto":{"limitreport-timeusage":{"value":"0.329","limit":"10.000"},"limitreport-memusage":{"value":5918905,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-f69cdc8f6-nd6xd","timestamp":"20241122141440","ttl":2592000,"transientcontent":false}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"Integer factorization","url":"https:\/\/en.wikipedia.org\/wiki\/Integer_factorization","sameAs":"http:\/\/www.wikidata.org\/entity\/Q4846249","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q4846249","author":{"@type":"Organization","name":"Contributors to Wikimedia projects"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2002-01-09T11:18:16Z","dateModified":"2024-09-04T10:09:45Z","headline":"decomposition of a number into a product"}</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10