I just found out that when you type Math.pow(5,25) % 5
in the console, it returns 2. This also happens when you first solve Math.pow(5,25)
(298023223876953150 % 5 = 2
). But that number is clearly divisible by 5, because it is a power of 5...
Has anyone an idea what is going on here?
(I also saw that the outcome of Math.pow(5,25)
is wrong, it is 25 higher than the real number, does someone knows how this works too?)