3 in 1

Algebra Level pending

Problem 1:

There are 10 numbers { 2 , 3 , 5 , 7 , 11 , 13 , 17 , 19 , 23 , 29 } \{2,3,5,7,11,13,17,19,23,29\} written on a blackboard. At each turn, any two numbers are chosen from the board and they are replaced by their G.C.D and L.C.M. If it is possible to get all odd numbers after a finite number of steps, the answer is 50, else the answer is 10. (Let the answer to this problem be Y Y )

Problem 2:

Let a person be at O ( 0 , 0 ) O(0,0) initially. He wants to go to his home at Q ( 1 , 0 ) Q(1,0) . He wants to reach his home in 10 steps, no more no less. (The segment O Q OQ has length 1 1 . The kind of steps he can take is a step of length 1 1 to any of the following three directions:

  1. To the right, that is along the positive x-axis

  2. At an angle of 120 120 degrees to the positive x-axis

  3. At an angle of 120 -120 degrees to the positive x-axis

Let him take a a steps of the first kind, b b steps of the second kind, c c steps of the third kind, and let the set S S be the set containing a a , b b and c c only. (A set contains distinct elements only.)

Then the sum of the elements of S S is X X .

Problem 3:

Let f : N 2 > N f:N^2->N where N is the set of non-negative integers be a function satisfying the following conditions:

  1. f ( m , n ) = f ( n , m ) f(m,n)=f(n,m) for all n , m n,m in N N

  2. f ( m , n ) = f ( m , m + n ) f(m,n)=f(m,m+n) for all n , m n,m in N N

  3. f ( n , 0 ) = f ( 0 , n ) = n f(n,0)=f(0,n)=n for all n n in N N

Find f ( ( Y 1 ) 3 2 + 2 , ( X + 1 ) 2 3 . X + 1 ) f((Y-1)^{\frac{3}{2}}+2, (X+1)^{\frac{2}{3}}.X+1) . Let the answer be Z Z .

Now the answer is ( Y 2 X 2 ) m o d ( Y ) . 1000 + X . 100 + Z (Y^2-X^2)mod(Y).1000+X.100+Z

A (mod) B A \text{ (mod) } B refers to the remainder on dividing A A by B B


The answer is 1729.

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

Soumava Pal
May 28, 2016

For the first problem, we use the property a . b = g c d ( a , b ) . l c m ( a , b ) a.b=gcd(a,b).lcm(a,b) .

The above property tells us that at any stage, the blackboard contains at least one even number, because the parity of the product of all the numbers on the board is invariant, namely it is even.

To show the invariance, we check that the product of all the numbers is even at first because of the presence of 2 2 in the set initially.

Now if in all the steps we do our operations with the odd numbers only then the 2 2 will always remain, making the product even, and if the 2 2 is taken anytime for the operation, the above property preserves the parity of the product of the two numbers which is even on L.H.S. due to presence of 2 2 so R.H.S. must also be even, so at least one of the factors on R.H.S. is even.

Hence the final product is also even. So there exists at least one even number in the blackboard at all times. Hence Y = 10 Y=10 .

For the second problem,

we make the following observations:

Each time the man makes a step of first kind (as in question) we write a 1 1 , each time he makes a step of the second kind, we write ω \omega where ω \omega is the third root of unity, and each time he makes a step of the third kind, we write ω 2 {\omega}^2 which is the other third root of unity, so that the net displacement of the man in terms of complex numbers is a + b ω + c ω 2 = 1 a+b\omega+c{\omega}^2=1 since the net displacement is 1. Also a + b + c = 10 a+b+c=10 . Also note that the net displacement is only in the horizontal direction (that is along x-axis) so for each ω \omega step we have to take an ω 2 {\omega}^2 step. So we get b = c b=c .

Thus the two equations give a + 2 b = 10 a+2b=10 and a b = 1 a-b=1 . Solving the two equations we get S = S= { 4 , 3 4,3 }, so that X = 7 X=7 .

For the third problem, the second condition gives us the hint that f ( m , n ) f(m,n) is actually the G.C.D of m m and n n . We take the help of Euclid's algorithm for finding out the G.C.D. of the two integers m , n m,n . We note that the second condition, can also be viewed as f ( p , q ) = f ( p , p q ) f(p,q)=f(p,p-q) (if p > q p>q ) (this can be assumed without loss of generality due to the first condition that f ( m , n ) = f ( n , m ) f(m,n)=f(n,m) ) by simply putting p = m + n , q = n p=m+n,q=n . So f ( p , q ) = f ( p , p q ) = f ( p , p 2 q ) = . . . . = f ( p , p a q ) f(p,q)=f(p,p-q)=f(p,p-2q)=....=f(p,p-aq) where a is the largest integer such that p a q > 0 p-aq>0 . So a a must be the quotient on dividing p p by q q so that p a q p-aq is actually the remainder of the said division. So we have actually found that

f ( p , q ) = f ( p , p ( m o d ( q ) ) ) f(p,q)=f(p,p(mod(q))) and by the Euclidean algorithm, we know that this process terminates of taking the dividend and the remainder terminates when the remainder is zero. In that step the divisor is actually the G.C.D of the two numbers p , q p,q we started with.

f ( p , q ) = f ( g c d ( p , q ) , 0 ) = g c d ( p , q ) f(p,q)=f(gcd(p,q),0)=gcd(p,q) where the last equality follows from the third condition.

Hence f ( m , n ) = g c d ( m , n ) f(m,n)=gcd(m,n) . So Z = 29 Z=29 .

Which gives Ramanujan's Number 1729 1729 as the answer.

@Calvin Lin

Sir, if this problem is too big for a quiz, I will split it into 3 different problems. :) Please let me know.

Soumava Pal - 5 years ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...