(27)27=(33)27=381Now we know the cyclioity of 3 is 4. Hence, 81/4 leaves a remainder of 1.
Therefore, the last digit will be 3.
Now,
381=3×380=3×(32)40=3×940=3×(10−1)40=3×(1040−40C1×1039−....−40C38×102−40C39×10+1)........(i)
For the last two digits, divide the above expression by 100. Each term of the above expression contains 102 except 1.
∴381=3×(100λ+1)=300λ+3
Therefore, the last two digits will be 03
For the last three digits, divide equation (i) by 1000. Each term of the above expression contains 103 except −40C39×10+1=−400+1=−399
∴381=3×(1000λ+(−399))=3000λ−1197
Therefore, the last three digits will basically be the remainder of −1197/1000=803
Therefore, the last three digits are 803.