number theory

find the remainder when 4444⁴⁴⁴⁴ is divided by 9


The answer is 7.

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.

2 solutions

Sam Grayson
Dec 28, 2014

Warning: I have no formal instruction in number theory. (yet)

Let R ( a , b , n ) R(a, b, n) be the answer for the common question for a b mod n a^b ~\textrm{mod}~ n .

R ( 4444 , 1 , 9 ) = 7 R(4444, 1, 9) = 7 , since 444 4 1 = 4444 4444^1 = 4444 and 4444 mod 9 = 7 4444 ~\textrm{mod}~ 9 = 7 by the summing digits test

( a b ) mod n = ( a mod n ) ( b mod n ) (ab) ~\textrm{mod}~ n = (a ~\textrm{mod}~ n ) \cdot (b ~\textrm{mod}~ n) ,

444 4 b mod 9 = ( 4444 mod 9 ) ( 444 4 b 1 mod 9 ) 4444^b ~\textrm{mod}~ 9 = (4444 ~\textrm{mod}~ 9) \cdot (4444^{b - 1} ~\textrm{mod}~ 9)

R ( 4444 , b , 9 ) = ( 7 R ( 4444 , b 1 , 9 ) ) mod 9 R(4444,b,9) = (7 \cdot R(4444, b - 1, 9)) ~\textrm{mod}~ 9

R ( 4444 , b , 9 ) = ( 7 7 7 R ( 4444 , 1 , 9 ) ) mod 9 R(4444, b, 9) = (7 \cdot 7 \cdot 7 \ldots R(4444, 1, 9)) ~\textrm{mod}~ 9

R ( 4444 , b , 9 ) = 7 n mod 9 R(4444, b, 9) = 7^n ~\textrm{mod}~ 9

Now that we have something we can actually calculate...

R ( 7 , 0 , 9 ) = 1 R(7, 0, 9) = 1

R ( 7 , 1 , 9 ) = 7 R(7, 1, 9) = 7

R ( 7 , 2 , 9 ) = 4 R(7, 2, 9) = 4

R ( 7 , 3 , 9 ) = 1 R(7, 3, 9) = 1

The pattern repeats 1, 7, 4, 1, 7, 4,... Since 4444 would fall on the third number in the pattern, the answer is 7.

Anatoliy Razin
Nov 18, 2014

Let R ( a , b , n ) R(a,b,n) be the answer for the common question for a b a^b divided by n n

R ( 4444 , 4444 , 9 ) = R ( 4 + 4 + 4 + 4 , 4444 , 9 ) = R ( 7 , 4444 , 9 ) R(4444, 4444,9) = R(4+4+4+4, 4444, 9) = R(7, 4444, 9)

Since g c d ( 7 , 9 ) = 1 gcd(7, 9) = 1 and φ ( 9 ) = 6 \varphi(9) = 6 ,

R ( 7 , 4444 , 9 ) = R ( 7 , 4 , 9 ) = 7 R(7, 4444, 9) = R(7, 4, 9) = \boxed{7}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...