Vrijeme: 09:32
Sigma lanac | Sigma chain #1
Suma

može se zapisati kao
, gdje je
funkcija u
. Pokazuje se da je
cjelobrojan, a mi vas pitamo da napišete najmanji
takav da je
djeljiv s
. Ako takav ne postoji, vratite
.
The sum

can be written as
, where
is a function of
. It has been shown that
is an integer, and we ask you to find the smallest
such that
is divisible by
. If no such
exists, return
.