Find a number which when divided by 10 leaves remainder 9, when divided by 8 leaves remainder 7, etc. down to where when divided by 2, it leaves remainder 1.
@bahupepe
@ganeshie8
Managed to solve it by trial and error... I don't know if there's a better way. The divided by 2 leaves remainder 1 makes it odd The divided by 10 leaves 9 makes its unit digit 9
this is a chinese remainder theorem problem
Aahh.. clearly out of my league. lol
work backwards ?
pff... It's A number, and no specifications to it. Try 10! - 1
The Question I am posting are from International mathematics Olympiad Level-1 sample papers given By My Coach Professor Binay Kumar Sinha
LOL I'm just kidding :)
Or am I?
You're probably looking for the smallest number that satisfies your conditions, though, @goformit100 and 10! - 1 is simply ghastly XD
x = 9 mod 10 x = 8 mod 9 x =7 mod 8 x = 6 mod 7 x = 5 mod 6 x = 4 mod 5 x = 3 mod 4 x = 2 mod 3 x = 1 mod 2
I personally solved this question in this was am i correct ?
Okay.... time to work ... 1 divides 1 1x2 divides 1 and 2 1x2x3 divides 1,2,3,6 1x4x3 divides 1,2,3,4,6 1x4x6 divides 1,2,3,4,6,8 1x3x4x6 divides 1,2,3,4,6,8,9 1x3x4x5x6 divides 1,2,3,4,5,6,8,9,10 1x3x4x5x6x7 divides 1,2,3,4,5,6,7,8,9,10 So 2520 (that product) would be divisible by all from 2 to 10 so take away 1 it will yield the desired remainders 2519 is your answer ;)
SEE Let the number = N So, N = 10base(a9) + 9 = 9 base(a8) + 8 = 8 base(a7) + 7 = 7 base(a6) + 6 … … = 2abase(1) +1 i.e. N+1 is having 2,3,4,5, ….. 10 as a factor Taking LEM of 2,3,4,5,….. 10 = 2520 is it correct ?
LOL @goformit100 !!!! :)
Am I correct ?
Yup :)
what does LEM stand for?
@terenzreignz Color me impressed!!! :-)
@terenzreignz wonderful logic !!!
Thanks, guys :) I could summed it all up in what @goformit100 says, though (LEM, which I suspect means something along the lines of "least common multiple") I have a tendency to overdo things :/ But a big thanks to you guys :D
im lost, what is the next step
You find the least common multiple of the numbers from 1 to 10, and take away 1 from that least common multiple.
x = 10 a_9 + 9 = 9 a_8 + 8 = 8 a_7 + 7 . . . = 2 a_1 + 1
why do you take away 1 from the LCM
x-1 = 2*a_1 x-2 = 3*a_2 x-3 = 4*a_3
Because, since that number 2520 = 0 (mod <all of them>) if you take away 1, 2519 = -1(mod 10) = 9(mod 10) 2519 = -1(mod 9) = 8(mod 9) 2519 = -1(mod 8) = 7(mod 8) etc...
ok , LCM {2,3,4,5,6,7,8,9,10} = 2520
would it be the least number with that property
It would be the least.... I didn't even know what I was doing (finding the LCM) until goformit pointed it out :D
im not so sure i feel some numbers may exist with these properties before we reach LCM
2520 mod 10 = 0 mod 10 , then you subtract both sides by 1 ? 2519 mod 10 = -1 mod 10
and -1 mod 10 = 9 mod 10
2520 mod 9 = 0 mod 9 2519 mod 9 = -1 mod 9 = 8 mod 9 = 8
In general is it true that x mod a = y mod a iff (x + - c) mod a = (y + - c ) mod a ?
Well, @ganeshie8 suppose N is the least positive integer satisfying those remainder properties... then N+1 is a positive integer that is divisible by all from 2 to 10 Then N+1 is a common multiple of 2 to 10 Now, for N to be the "least positive integer satisfying said properties" N+1 must be the least common multiple of those from 2 to 10
Seems legit, @perl
ok i think i see what you did now Given x = 9 mod 10 x = 8 mod 9 x =7 mod 8 x = 6 mod 7 x = 5 mod 6 x = 4 mod 5 x = 3 mod 4 x = 2 mod 3 x = 1 mod 2 Then x +1 = 10 mod 10 = 0 x +1= 9 mod 9 = 0 x +1=8 mod 8 = 0 x +1= 7 mod 7 = 0 x +1 = 6 mod 6 = 0 x +1= 5 mod 5 = 0 x +1= 4 mod 4 = 0 x +1= 3 mod 3 = 0 x +1 = 2 mod 2 = 0
so x+1 = LCM { 2,3,4,5,6,7,8,9,10} , then x = LCM { 2,3,4,5,6,7,8,9,10} -1
hmm i got u. but the question doesnt require it to be divisible by 9 or 7 or 5 or 3
The question should probably say, find the smallest number?
It doesn't require it to be the least integer that satisfies, neither, @ganeshie8 LOL But I <facedesked> :) Let's use that logic again, but only for those mentioned... LCM{2,4,6,8,10}=120 119 then.
Better tell this to @goformit100
ya say
Well, as @ganeshie8 pointed out, @goformit100 your question doesn't involve any division by the odd integers from 2-10 {3,5,7,9} So... 119 seems to be our best bet, following similar lines of thinking.
isnt this the question ? find the smallest positive integer x such that x = 9 mod 10 x = 8 mod 9 x =7 mod 8 x = 6 mod 7 x = 5 mod 6 x = 4 mod 5 x = 3 mod 4 x = 2 mod 3 x = 1 mod 2
There's no division by 9, 7, etc. @perl
ohh
ok well we can create a second follow up question :)
But similar methods work. Just altering the arguments...
x = 9 mod 10 x =7 mod 8 x = 5 mod 6 x = 3 mod 4 x = 1 mod 2
ok guys Have we met with the conclusion, whoes answer is correct ?
119. Thank @ganeshie8 kindly :)
x = LCM { 2,4,6,8,10} -1 = 119
i dont deserve medals for this problem -hangs head in shame-
finding next integer seems tricky
whats the next question?
i mean, second least integer with given props
Next integer would be 2<LCM> - 1
right
ohh ya :)
also we might want to prove that LCM is the least integer such that the respective mods produce zero.
anybody has any questions, i see a lot of people observing
You mean the least integer such that if you take away 1, you get the respective moduli?
Is my next question http://openstudy.com/study#/updates/517bbcaae4b0249598f7a76d
the question just asks 'find a number' , you could even use 2*3*6*8*10 -1
it should say 'least positive integer'
Join our real-time social learning platform and learn together with your friends!