Need help in Apostol Calculus proof

zjhok2004
Messages
8
Reaction score
0
let b denote a fixed positive integer. Prove the following statement by induction: for every integer n≥0, there exist nonnegative integers q and r such that n= qb+r, 0≤r<b.



Can someone help me on how to solve this question? and how does induction works here?
thank you
 
Physics news on Phys.org
Are there any restrictions on q and b? Otherwise the statement is trivially satisfied by q = n, b = 1, r = 0.
 
voko said:
Are there any restrictions on q and b? Otherwise the statement is trivially satisfied by q = n, b = 1, r = 0.

I think you have to prove by using induction
 
voko said:
Are there any restrictions on q and b? Otherwise the statement is trivially satisfied by q = n, b = 1, r = 0.

I don't think you get to choose b.
 
zjhok2004 said:
Can someone help me on how to solve this question? and how does induction works here?
thank you
You can easily check that it's true for n = 0. Now suppose it's true for n, so there exist q and r &lt; b such that n = qb + r. Now consider n + 1. A reasonable first step would be to add 1 to both sides of the equation above:
n + 1 = qb + r + 1
What does this do for you?
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top