A piece of ϕ \phi

Find the last non-zero digit of ( a 8 m o d 15 ) 999 \large (a^8 \bmod 15)^{999} a a and 15 15 are co-prime.


The answer is 1.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Vilakshan Gupta
Dec 8, 2017

Relevant Wiki: Euler's Totient Function


ϕ ( 15 ) = 15 ( 1 1 5 ) ( 1 1 3 ) = 15 4 5 2 3 = 8 \phi(15)=15\left(1-\frac 15\right)\left(1-\frac 13\right)=15\cdot \frac 45 \cdot \frac 23 = 8

Assuming that gcd ( a , 15 ) = 1 \gcd(a,15)=1 , therefore a 8 1 ( m o d 15 ) (Euler’s Totient Function) a^8 \equiv 1 \pmod {15} ~~~~~~~~\color{#3D99F6}\text{(Euler's Totient Function)}

Therefore last digit would of ( a 8 ( m o d 15 ) ) 999 = 1 \left(a^8 \pmod {15}\right)^{999} = \boxed{1}

It is ( a 8 m o d 15 ) 999 \large (a^8 \bmod 15)^{999} not a 8 ( m o d 15 ) 1000 a^8 \pmod {15}^{1000}

Sumukh Bansal - 3 years, 6 months ago

Log in to reply

Yes. It was a typo. I have corrected it.

Vilakshan Gupta - 3 years, 6 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...