I'm proving algorithm to justify using inductive hypothesis.
$T(k)$ is the minimum round value the number of handshaking within $N=k$ people.
If $T(k-2)=T(k-1)=k-2$, can I prove about $T(k)$?
I used proof by inductive hypothesis.
1) Base case, $N=3, N=4$
T(3) = minimum number of handshaking within 3 people is 3
T(4) = minimum number of handshaking within 4 people is 3
2) Inductive Hypothesis ($k$ is odd number)
Until $N=k-1$, it is true that $T(k-2)=T(k-1)=k-2$.
3) Prove when $N=k$
How can I prove?