In strong induction i do not understand why lets say you proved the base case
n=1
Then you assumed that the statement is true for all n from 1 to k, where k is some number in N.
And in the induction step you need to use the truth of say k-2, so k-2 has to be in that range above which is true when k is 3 or greater, so you add two more base cases, n=2 and n=3.
What i do not understand is what if k=7 then we used the truth of the statment for n=5 which was not included in the base case?
So can someone explain to me what is going on in the base case and induction step of strong induction because i do not get it. THank you for your time
Assume you have a proof of
Then $\Phi(7)$ follows from $\Phi(5)$. If you did not show $\Phi(5)$ as a base case, $\Phi(5)$ can alsoe be concluded from $\Phi(3)$. And if $\Phi(3)$ is still not among the base cases, you can conclude it anyway from $\Phi(1)$. But (hopefully), you already know that $\Phi(1)$ is true (base case).
Note that in this specific scenario, you need to show $\Phi(1)$ and $\Phi(2)$ "manually". Everything else follows by induction as just illustrated by the argument for $n=7$.
More formally, the set $$X:= \{\,n\in\Bbb N\mid\Phi(n)\text{ is false}\,\}$$ is a subset of $\Bbb N$. Assume $X\ne \emptyset$. Then $X$ has a minimal element $n_0$. Then $n_0$ cannot be $>2$ as we would arrive at a contradiction with the induction step statement. Hence either $n_0=2$ or $n_0=1$; but by direct proofs for $\Phi(1)$ and $\Phi(2)$, we know that $1,2\notin X$. from this contradiction, we infer that $X=\emptyset$.