-1

I ve been asked to prove that for $n\geq 8$ exist $p,q\in \mathbb{N}_0$ so that $n=5p +3q$ anyone who could help and explain too?

nonuser
  • 90,026
Insomniac
  • 149

1 Answers1

2

Base of induction $n=8,9,10$: \begin{eqnarray*} 8 &=5\cdot 1+3\cdot 1\\ 9 &=5\cdot 0+3\cdot 1\\ 10 &=5\cdot 2+3\cdot 0 \end{eqnarray*}

Induction step $n\to n+3$. By induction hypothetis there are $p,q$ such that $n=5p+3q$. Then:

$$ n+3 = 5p+3q+3 = 5p'+3q'$$ where $q' = q+1$ and $p'=p$.

nonuser
  • 90,026