Skip to main content
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Source Link

Divisors are found by using the prime factorization of the number. I'm using the same method to build an array of all primes below the input number as I used in the previous problemthe previous problem.

Divisors are found by using the prime factorization of the number. I'm using the same method to build an array of all primes below the input number as I used in the previous problem.

Divisors are found by using the prime factorization of the number. I'm using the same method to build an array of all primes below the input number as I used in the previous problem.

deleted 97 characters in body
Source Link
Tyilo
  • 1.4k
  • 10
  • 18

Note: the program depends on the following patch: https://github.com/orlp/golf-cpu/pull/8

Note: the program depends on the following patch: https://github.com/orlp/golf-cpu/pull/8

edited body
Source Link
Tyilo
  • 1.4k
  • 10
  • 18

Total cycles for examples: 1929,474566,982640

Total cycles for examples: 19,474,982

Total cycles for examples: 29,566,640

Source Link
Tyilo
  • 1.4k
  • 10
  • 18
Loading