Question
Question: The sum of last three digit if the number N = $7^{100}-3^{100}$ is...
The sum of last three digit if the number N = 7100−3100 is

0
1
3
4
0
Solution
To find the sum of the last three digits of the number N=7100−3100, we need to find the value of N modulo 1000. The last three digits of a number are represented by its remainder when divided by 1000.
We can use the Carmichael function, λ(n), which is the smallest positive integer such that aλ(n)≡1(modn) for all integers a coprime to n.
First, find the prime factorization of 1000: 1000=103=(2×5)3=23×53.
Next, calculate λ(1000): λ(1000)=lcm(λ(23),λ(53)).
For a prime p and positive integer k:
- If p is an odd prime, λ(pk)=ϕ(pk)=pk−pk−1.
- For p=2, λ(2)=1, λ(4)=2, and λ(2k)=2k−2 for k≥3.
Let's calculate the individual Carmichael values:
-
For 23: λ(23)=λ(8)=23−2=21=2.
-
For 53: λ(53)=ϕ(53)=53−53−1=125−25=100.
Now, calculate λ(1000): λ(1000)=lcm(2,100)=100.
According to Carmichael's theorem, if gcd(a,n)=1, then aλ(n)≡1(modn). In our case, n=1000 and λ(1000)=100.
-
For 7100(mod1000): Since gcd(7,1000)=1, and the exponent is 100, which is equal to λ(1000): 7100≡1(mod1000).
-
For 3100(mod1000): Since gcd(3,1000)=1, and the exponent is 100, which is equal to λ(1000): 3100≡1(mod1000).
Now, substitute these results back into the expression for N: N=7100−3100(mod1000) N≡1−1(mod1000) N≡0(mod1000).
This means that N is a multiple of 1000. Any number that is a multiple of 1000 has its last three digits as 000. For example, N=…000. The last three digits are 0, 0, and 0.
The sum of the last three digits is 0+0+0=0.