Divisors of 1 Billion - Fun Number Theory Problem

preview_player
Показать описание
This problem was inspired by an AMC10 Problem ...
(2021 Spring AMC 10B Let $N = 34 \cdot 34 \cdot 63 \cdot 270$.
What is the ratio of the sum of the odd divisors of $N$ to the sum of the even divisors of $N$?)
Рекомендации по теме
Комментарии
Автор

That's mind blowing. In fact I was so curious that I converted the problem into a python code

# start of code
odd = 0
even = 0
n = 10**9
for m in range(1, n+1):
if n%m==0:
if m%2==0:
even+=m
else:
odd+=m
print(even/odd)
# end of code

And after a lot of computation time, it DOES give 1022.0 as output

TheDigiWorld