Number Theory Question by Mithil Shah # 1

Find the smallest positive integer whose cube ends with 888.


The answer is 192.

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

Jason Martin
Nov 13, 2017

We are looking for the smallest positive integer n n such that n 3 888 m o d 1000 n^3 \equiv 888 \mod 1000 . Since 1000 = 8 125 1000=8 \cdot 125 , we can consider n 3 n^3 modulo 8 8 and 125 125 respectively.

First, note that n 3 888 0 m o d 8 n^3 \equiv 888 \equiv 0 \mod 8 . Thus, n = 2 m n=2m for some m m . Then ( 2 m ) 3 888 m o d 125 m 3 111 m o d 125 (2m)^3 \equiv 888 \mod 125 \implies m^3 \equiv 111 \mod 125 . Now we will work our way up the powers of 5 5 to determine m m .

We have that m 3 1 m o d 5 m^3 \equiv 1 \mod 5 , and thus m 1 m o d 5 m \equiv 1 \mod 5 ; say m = 1 + 5 k m=1+5k for some k k . Then m 3 11 m o d 25 ( 1 + 5 k ) 3 11 m o d 25 1 + 15 k 11 m o d 25 15 k 10 m o d 25 m^3 \equiv 11 \mod 25 \implies (1+5k)^3 \equiv 11 \mod 25 \implies 1+15k \equiv 11 \mod 25 \implies 15k \equiv 10 \mod 25 . Dividing both sides by 5 5 (including the modulus) yields 3 k 2 m o d 5 k 4 m o d 5 3k \equiv 2 \mod 5 \implies k \equiv 4 \mod 5 ; say k = 4 + 5 l k=4+5l for some l l , so m = 21 + 25 l m=21+25l .

Finally, m 3 111 m o d 125 ( 21 + 25 l ) 3 111 m o d 125 25 l 75 m o d 125 m^3 \equiv 111 \mod 125 \implies (21+25l)^3 \equiv 111 \mod 125 \implies 25l \equiv 75 \mod 125 . Again, dividing both sides by 25 25 yields l 3 m o d 5 l\equiv 3 \mod 5 , say l = 3 + 5 j l=3+5j for some j j . Then we have m = 21 + 25 ( 3 + 5 j ) = 96 + 125 j m=21+25(3+5j)=96+125j .

Since n = 2 m = 192 + 250 j n=2m=192+250j and we want the smallest positive n n , we can choose j = 0 j=0 and so n = 192 n=\boxed{192}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...