Can you give me some tips on the following problem:
For every $n\geq8$ prove that there exist natural numbers $p,q$ so that: $n = 5p + 3q$
Can you give me some tips on the following problem:
For every $n\geq8$ prove that there exist natural numbers $p,q$ so that: $n = 5p + 3q$
On
Denote the statement that you want to show as $P(n)$ and proceed by induction
On
Let $\mathbb N$ denote the set of natural numbers.
I preassume that $0\in\mathbb N$ which finds its justification in the fact that $9$ cannot be written as $5p+3q$ if $p,q$ are both demanded to be positive integers.
Defining $A:=\{5p+3q\mid p,q\in\mathbb N\}$ it is to be shown that $\{n\in\mathbb N\mid n\geq8\}\subseteq A$.
Observe that $A$ is closed under addition: if $a,b\in A$ then $a+b\in A$.
By brute force it can be proved that $8,9,10,11,12,13,14,15\in A$.
This is the base step of proving with induction that $n\in A$ is true for every $n\geq8$.
If $n\geq16$ then $n=(n-8)+8\in A$.
This because both terms are elements of $A$ and $A$ is closed under addition.
With explicit construction for $p$ and $q$:
Write $n=8k+l$, $k\geq 1$ and $0\leq l<8$. Then $p$ and $q$ can be constructed as follows.