કોઇપણ ગણિતની સમસ્યા ઉકેલો
સમીકરણો, આધાર, સમાવિષ્ટો, મેટ્રિક્સ, ત્રિકોણો, પ્રારંભિક સંખ્યાઓ, આંકડાઓ, અથવા શબ્દ સમસ્યા કે જે શિક્ષક ભાગોમાં વહેંચે છે.
પગલું દ્વારા પગલું
- 65^{17} \bmod 3233
Never compute the huge power. Reduce after every multiplication (repeated squaring).
- 65 \equiv 65 \pmod{3233}
Reduce the base first.
- 17 = 10001_2
Write the exponent in binary: 5 squarings at most.
- r \leftarrow r \cdot 65 \equiv 65 \pmod{3233}
This bit is 1: multiply the result by the current power.
- 65^2 \equiv 992 \pmod{3233}
Square the running power.
- 992^2 \equiv 1232 \pmod{3233}
Square the running power.
- 1232^2 \equiv 1547 \pmod{3233}
Square the running power.
- 1547^2 \equiv 789 \pmod{3233}
Square the running power.
- r \leftarrow r \cdot 789 \equiv 2790 \pmod{3233}
This bit is 1: multiply the result by the current power.
- 65^{17} \equiv 2790 \pmod{3233}
Done.
જવાબ બતાવો
65^{17} \bmod 3233 = 2790