Created
January 11, 2019 15:19
-
-
Save Noxville/52c049e7a33e13b69f3ef7028807f302 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in range(10): | |
num = int('53013180176278773980288979275410970' + str(i) + '139358547710066257652050346294484433323974747960297803292989236183040000000000') | |
print("num (_ = {}): {}".format(i, num)) | |
divides = [] | |
for fac in range(99, 1, -1): | |
if num % fac == 0: | |
divides.append(fac) | |
num /= fac | |
if num == 1: | |
print("divisors: {}".format(divides)) | |
print("left over: {}".format(num)) | |
print("~~~~~") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment