Ask your own question, for FREE!
Mathematics 8 Online
OpenStudy (anonymous):

Ok. Another question.

OpenStudy (anonymous):

How many positive integers N from 1 to 5000 satisfy both congruences, \[N\equiv 5\pmod{12} and N\equiv 11\pmod{13}? \]

OpenStudy (anonymous):

So there's 417 which satisfy the first, and 384, I think, which satisfy the second. Now count the ones which satisfy both. You can do that using the technique in the solution of one of your previous problems! http://openstudy.com/study#/updates/52194835e4b06211a67cad34

OpenStudy (anonymous):

Is the answer 60?

OpenStudy (anonymous):

Ooops, I actually misread the question and thought it said or... Come to think of it, I think I did that for one of the previous ones too (the one which we left halfway). But I don't think it's 60.

OpenStudy (anonymous):

chinese remainder theorem might help for this should not be too hard since \(13-12=1\)

OpenStudy (anonymous):

Is it 89?

OpenStudy (anonymous):

We've been using it for the past couple of problems.Suppose you want to solve \[N \equiv a \mod m_1, N\equiv b \mod m_2,\]where \(m_1\) and \(m_2\) are coprime. Then the Chinese remainder theorem says that a solution \(N\) exists, and that all solutions \(N\) are congruent modulo \(m_1m_2\).

OpenStudy (anonymous):

It's smaller than 89...

OpenStudy (anonymous):

Here's why the theorem is useful... it means we only need to find one solution \(N\), and we know all of them! And finding a single solution isn't terribly hard. You have \(N≡5 + 12m, N≡11 + 13n\) for some integers \(m,n\). So set them equal... \(5 + 12m = 11 + 13n\) and if you can find a single pair of values \(m,n\) which satisfy that, then you have all your solutions!

OpenStudy (anonymous):

just to butt in, since \[13-12=1\] the first one to work is \[13\times 11-12\times 5=83\] you can check that this solves both then add \(12\times 13=156\) repeatedly to get them all

OpenStudy (anonymous):

usually it is somewhat harder, and often you have more congruences to solve, but for this one you can get the 1 right off the bat

OpenStudy (anonymous):

wait...what?

OpenStudy (anonymous):

Ooh I get what you are saying Erin! Just solve for m and n.

OpenStudy (anonymous):

@satellite73 I think 83 solves \[N=11 \mod 12, N =5\mod 13\]not the original equations... ;)

OpenStudy (anonymous):

ugh. now I'm confused. do you already know what the answer is erin?

OpenStudy (anonymous):

I believe it's 32.

OpenStudy (anonymous):

but...why?

OpenStudy (anonymous):

oh crap, did i get that backwards?

OpenStudy (anonymous):

32 is right.

OpenStudy (anonymous):

but the 8 answers i submitted before that aren't XD

OpenStudy (anonymous):

Did you find a value of \(m\) and \(n\)?

OpenStudy (anonymous):

7 and 6?

OpenStudy (anonymous):

i screwed up didn't i? should be \[13\times 5-2\times 11=-67\]

OpenStudy (anonymous):

@orple8 They seem to work. I just used -6 and -6. Not that it matters much - you just need a single pair of values. So now that you have m and n, you have a solution N.

OpenStudy (anonymous):

Oh! right!

OpenStudy (anonymous):

@satellite73 Assuming that's 12*13, that looks much better :)

OpenStudy (anonymous):

Um, 12*11, I mean. Now I'm screwing up...

OpenStudy (anonymous):

Thanks! Erin you are magical. I swear. Either that or you are genius.

OpenStudy (anonymous):

I've got to go to sleep. My head is throbbing so badly... Math for 3 hours straight is no good for you.

OpenStudy (anonymous):

@orple8 Neither. I'm still trying to get my head around satellite's stuff! What are you talking about? 3 hours of maths is excellent for you :P Or have my maths lecturers been lying to me all this time...

OpenStudy (anonymous):

so not good for my head. maybe good for my intellectual level. *clutches head and makes pitiful mewing noises until Erin agrees.* lol

OpenStudy (anonymous):

well, I'm going to sleep now. bye!

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!