Skip to content

Instantly share code, notes, and snippets.

@Noxville
Created January 11, 2019 15:19
Show Gist options
  • Save Noxville/52c049e7a33e13b69f3ef7028807f302 to your computer and use it in GitHub Desktop.
Save Noxville/52c049e7a33e13b69f3ef7028807f302 to your computer and use it in GitHub Desktop.
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