8^15-2^40 делится на 3 срочна!!!!!
Может +
На 31
[(2³)^45-2^40]/31=(2^45-2^40)/31=2^40*(2^5-1)/31=2^40*31/31=2^40
(8^15-2^40)/31 = (2^(3*15)-2^40)/31 = (2^45-2^40)/31 = 2^40(2^5-1)/31 = 2^40*(32-1)/31 = 2^40*31/31 = 2^40