Number Theory or Algebra? Part 8

Find the minimum positive integer k k such that

127 2 24 + k . 127 | 2^{24} + k.


This problem is part of Sanchayapol's set Number Theory Or Algebra? : A Complete Set .


The answer is 119.

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

2 7 1 ( m o d 127 ) 2^{7} \equiv 1 (mod 127)

2 21 1 ( m o d 127 ) 2^{21} \equiv 1 (mod 127)

2 24 8 ( m o d 127 ) 2^{24} \equiv 8 (mod 127)

127 2 24 8 + 127 n \therefore 127 | 2^{24} - 8 + 127n , when n n is a non-negative integer but k k must be positive.

So, k m i n k_{min} will be reached when n = 1 n = 1 .

So, k m i n = 119 k_{min} = \boxed{119}

Can the question be solved without using modular arithmetic? I am not familiar with it.

Shreyansh Vats - 7 years, 1 month ago

Log in to reply

Hi Shreyash, I also don't know modular arithmetic, but I did it without it. First of all, 2^24 can be written as 256^3 or (127*2+2)^3 this will give a remainder of 8 when divided by 127 (hope you know why!). Sorry for not using LaTeX, had to do lots of Maths home work!!!!

Satvik Golechha - 7 years, 1 month ago

Log in to reply

Thanx Satvik, and can understand the burden of the math homework!!!!!

Shreyansh Vats - 7 years, 1 month ago

Hii satvik , I am not able to understand why the remainder comes 8.Please make me understand when you are free

Deepak Jain - 7 years, 1 month ago

Log in to reply

@Deepak Jain All the terms in the expansion will have 127 in it, except 2^3 or 8. For this you may need to look into binomial theorem.

Satvik Golechha - 7 years, 1 month ago

Notice that 2^7 = 128, if you divide it by 127 a remainder 1. in modular arithmetic can be written as 2^7 = 128= 1 (mod 127).

Asama Zaldy Jr. - 6 years, 8 months ago

Can you please explain how you went from the first line to the second?

Kp Govind - 7 years, 1 month ago

Log in to reply

It's one of congruence's properties. I will prove it below. Theorem: If m m is a positive integer, m > 0 m>0 , a , b , c I + a, b, c \in I^{+} , then if a b ( m o d m ) a \equiv b (mod m) , then a k b k ( m o d m ) a^{k} \equiv b^{k} (mod m)

Proof : If a b ( m o d m ) a \equiv b (mod m) , then m a b m|a-b

Suppose that a b m = c \frac{a - b}{m} = c , when c c is a positive integer.

Then, a b = m c ( ) a - b = mc ---(*)

On the other hand, a k b k = ( a b ) ( a k 1 + a k 2 b + . . . + a b k 2 + b k 1 ) a^{k} - b^{k} = (a - b)(a^{k-1} + a^{k-2}b + ... + ab^{k-2} + b^{k-1})

Subsituting Equation ( ) (*) , a k b k = ( m c ) ( a k 1 + a k 2 b + . . . + a b k 2 + b k 1 ) a^{k} - b^{k} = (mc)(a^{k-1} + a^{k-2}b + ... + ab^{k-2} + b^{k-1})

Thus, a k b k m = c ( a k 1 + a k 2 b + . . . + a b k 2 + b k 1 ) \frac{a^{k} - b^{k}}{m} = c(a^{k-1} + a^{k-2}b + ... + ab^{k-2} + b^{k-1})

Since c , ( a k 1 + a k 2 b + . . . + a b k 2 + b k 1 ) I + , c, (a^{k-1} + a^{k-2}b + ... + ab^{k-2} + b^{k-1}) \in I^{+},

So since c ( a k 1 + a k 2 b + . . . + a b k 2 + b k 1 ) I + , c(a^{k-1} + a^{k-2}b + ... + ab^{k-2} + b^{k-1}) \in I^{+},

So since m a k b k , m|a^{k} - b^{k},

a k b k ( m o d m ) \therefore \boxed{a^{k} \equiv b^{k} (mod m)} .

Easily speaking, when the first number is congruent to the second with a mod, the first number raised to any power will be congruent to the second raised to the same power, with the same mod.

So, in this case :

2 7 1 ( m o d 127 ) 2^{7} \equiv 1 (mod 127)

( 2 7 ) 3 1 3 ( m o d 127 ) (2^{7})^{3} \equiv 1^{3} (mod 127)

2 21 1 ( m o d 127 ) \therefore 2^{21} \equiv 1 (mod 127)

Sanchayapol Lewgasamsarn - 7 years, 1 month ago

Log in to reply

@Sanchayapol Lewgasamsarn

2 simple questions:

  1. What do those 3 dots mean? The ones you've used in the last line of your comment.

  2. What do you call the set I + I^+ and is it standard notation? thanks.

mathh mathh - 6 years, 10 months ago

Or that in this case they are cyclic

Yash Patel - 7 years, 1 month ago

Use mathematical induction. That's it

Kevin Patel - 7 years, 1 month ago
Rajdeep Ghosh
Jul 8, 2017

2 7 1 ( m o d 127 ) 2^{7} \equiv 1 (mod 127)

or, 2 21 1 ( m o d 127 ) 2^{21} \equiv 1 (mod 127)

or, 2 24 8 ( m o d 127 ) 2^{24} \equiv 8 (mod 127)

The smallest negative number which is 8 ( m o d 127 ) \equiv 8 (mod 127) is -119.

So, 2 24 119 ( m o d 127 ) 2^{24} \equiv -119 (mod 127)

or, 127 2 24 + 119 127|2^{24}+119

k = 119 \therefore k=119

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...