Skip to main contentSkip to solution

The least non-negative remainder when 31283^{128} is divided by 7 is:

Solution

✅ Correct Option: 1

To find the remainder when 31283^{128} is divided by 7, calculate the first few powers of 3 modulo 7:

31=33^1 = 3 → Remainder = 33

32=93^2 = 9 → Remainder = 22

33=273^3 = 27 → Remainder = 66

34=813^4 = 81 → Remainder = 44

35=2433^5 = 243 → Remainder = 55

36=7293^6 = 729 → Remainder = 11

When 363^6 gives remainder 1, the pattern repeats every 6 powers.


To determine where 128 falls in this cycle, divide 128 by 6:

128÷6=21128 \div 6 = 21 remainder 22

Therefore:

128=6×21+2128 = 6 \times 21 + 2


Express 31283^{128} using this decomposition:

3128=36×21+23^{128} = 3^{6 \times 21 + 2}

=36×21×32= 3^{6 \times 21} \times 3^2

=(36)21×32= (3^6)^{21} \times 3^2


Since 363^6 gives remainder 1 when divided by 7:

(36)21(3^6)^{21} gives remainder 121=11^{21} = 1

32=93^2 = 9 gives remainder 22

Therefore, the remainder of 31283^{128} when divided by 7:

1×2=21 \times 2 = 2

The least non-negative remainder when 31283^{128} is divided by 7 is 22.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question