What is the units digit of 7^2024

easy CBSE JEE-MAIN 3 min read

Question

What is the units digit of 720247^{2024}?

Solution — Step by Step

We don’t need to calculate 720247^{2024} — it’s astronomically large. Instead, we look at only the units digit, which follows a repeating cycle.

Compute units digits of successive powers of 7:

  • 71=77^1 = 7 → units digit 7
  • 72=497^2 = 49 → units digit 9
  • 73=3437^3 = 343 → units digit 3
  • 74=24017^4 = 2401 → units digit 1
  • 75=168077^5 = 16807 → units digit 7 (cycle repeats!)

The units digits cycle is: 7, 9, 3, 1, 7, 9, 3, 1, …

The cycle has period 4: every 4 consecutive powers of 7 have units digits 7, 9, 3, 1.

In general: the units digit of 7n7^n depends only on the remainder when nn is divided by 4.

Remainder (n mod 4)Units digit of 7n7^n
17
29
33
01
2024÷4=506 remainder 02024 \div 4 = 506 \text{ remainder } 0

So 20240(mod4)2024 \equiv 0 \pmod{4}.

From our table: when the remainder is 0 (i.e., the exponent is divisible by 4), the units digit is 1.

Units digit of 72024=1\boxed{\text{Units digit of } 7^{2024} = 1}

We can verify with small cases: 747^4 ends in 1, 787^8 ends in 1, 7127^{12} ends in 1, … 720247^{2024} ends in 1. ✓

Why This Works

The units digit of a product depends only on the units digits of the factors. So 7n7^n mod 10 depends only on 7n17^{n-1} mod 10, and the sequence {7n mod 10}\{7^n \text{ mod } 10\} is periodic because there are only finitely many possible remainders mod 10 (0–9).

The period must eventually repeat, and once we see a repeat (we see 7 again at n=5n = 5 after n=1n = 1), the cycle has length 4. This is guaranteed by modular arithmetic — it’s not just an observation, it’s a theorem (Fermat’s little theorem gives the upper bound on cycle lengths).

The same method applies to units digit of 3n3^n (cycle: 3, 9, 7, 1, period 4), 2n2^n (cycle: 2, 4, 8, 6, period 4), 4n4^n (cycle: 4, 6, period 2), 5n5^n (always 5), 6n6^n (always 6).

Alternative Method

72024=(74)506=24015067^{2024} = (7^4)^{506} = 2401^{506}. Since 24012401 ends in 1, any power of 24012401 also ends in 1 (since 1k=11^k = 1). So the units digit is 1.

This is slightly faster when the exponent is divisible by the cycle length.

Common Mistake

Students often make an off-by-one error in reading the table: they compute 2024mod4=02024 \mod 4 = 0 but then look up the row for “remainder 0” and misread it as “4th position in cycle = 1” but write “7” (confusing position 1 with remainder 1). Write the table carefully with the remainder in the left column, and trust it: remainder 0 → units digit 1.

For any base bb, the units digit cycle length divides ϕ(10)=4\phi(10) = 4 (Euler’s totient function for 10), where gcd(b,10)=1\gcd(b, 10) = 1. That’s why 3, 7, 9 all have period dividing 4. Bases ending in 2, 4, 5, 6, 8, 0 have their own (often shorter) cycles. This fact saves you from rediscovering the cycle each time.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next