You are using the new UI (Beta).Return to the original UI

This page has been automatically translated by machine translation. Please note that translations may not be entirely accurate.

keisanHigh-precision calculations for everyday life and work

Prime Factorization (Trial Division Method + Rho Method) Revised Version

Author: ameyaExecutions: 8586

※ This library was created by a member. This site is not responsible for its content.

Manage Bookmarks
This program performs prime factorization on the entered natural number. It uses the trial division method and the rho method for prime factorization.
The test division checks for prime numbers from 2 to 997; if a number is evenly divisible by one of these, it is treated as a factor, and the remaining number is factored using the rho method. However, if there are multiple very large prime factors (11 to 12 digits or more), the factorization may not complete, resulting in a timeout or a "Process interrupted" message. If the process is interrupted, the last number displayed is a composite number.
N
Natural numbers up to 50 digits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 *The text below this point will be omitted.
Changes
・Improved performance
・Reduced timeout rate
・Clearly indicates when the process was interrupted while composite numbers remained

No customer feedback for this calculation yet.