You are Here: Home >< Maths

I have a problem with some basic number theory, would appreciate some help!

Announcements Posted on
Four hours left to win £100 of Amazon vouchers!! Don't miss out! Take our short survey to enter 24-10-2016
1. Hey all,

Given 4a + 9b = n where a and b are nonnegative integers, I need to prove that for n>23 where n is a natural number the equation is always satisfied

In other words,

4a + 9b = 24
4a + 9b = 25
4a + 9b = 26
....

will have a set of nonnegative integer solutions (a,b) for n>23.

Why is it that n has to be greater than 23, not 22 or 24?

I feel like this has to do with the fact that 4 and 9 are coprime but that is all I could think of.

I spend hours trying to figure out how to work this out but I can't seem to figure out so I would ask for some help here..
2. (Original post by standkakao)
Hey all,

Given 4a + 9b = n where a and b are nonnegative integers, I need to prove that for n>23 where n is a natural number the equation is always satisfied

In other words,

4a + 9b = 24
4a + 9b = 25
4a + 9b = 26
....

will have a set of nonnegative integer solutions (a,b) for n>23.

Why is it that n has to be greater than 23, not 22 or 24?

I feel like this has to do with the fact that 4 and 9 are coprime but that is all I could think of.

I spend hours trying to figure out how to work this out but I can't seem to figure out so I would ask for some help here..
May not be the most elegant method.

Any integer can be written in the form 4k+i, where

Suppose there is a solution pair (a,b), for 4k+i, then is there a solution pair for 4(k+1) +i ?

Can you take it from there?

As to n>23: Is there a solution for n=23?

Page 6,7 might help
4. (Original post by standkakao)
Hey all,

Given 4a + 9b = n where a and b are nonnegative integers, I need to prove that for n>23 where n is a natural number the equation is always satisfied

In other words,

4a + 9b = 24
4a + 9b = 25
4a + 9b = 26
....

will have a set of nonnegative integer solutions (a,b) for n>23.

Why is it that n has to be greater than 23, not 22 or 24?

I feel like this has to do with the fact that 4 and 9 are coprime but that is all I could think of.

I spend hours trying to figure out how to work this out but I can't seem to figure out so I would ask for some help here..
The reason why n>23 is because of the chicken nugget theorem (it has a proper name, but I have no idea what it is). It just says that the largest integer not expressible as ax+by for fixed positive coprime integers a,b and non negative integers x,y is ab-a-b. In fact, your question is basically just the chicken nugget theorem, so if you want more info, that's what to search for.

Register

Thanks for posting! You just need to create an account in order to submit the post
1. this can't be left blank
2. this can't be left blank
3. this can't be left blank

6 characters or longer with both numbers and letters is safer

4. this can't be left empty
1. Oops, you need to agree to our Ts&Cs to register

Updated: April 28, 2016
TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Today on TSR

Who is getting a uni offer this half term?

Find out which unis are hot off the mark here

Poll
Useful resources

Maths Forum posting guidelines

Not sure where to post? Read here first

How to use LaTex

Writing equations the easy way

Study habits of A* students

Top tips from students who have already aced their exams

Chat with other maths applicants