I'm trying to prove the following proposition as an exercise, and I'm stuck at some point.
Let $G$ be a graph that doesn't contain $C_3$ or $P_4$ as an induced subgraph. Then $G$ is bipartite.
My attempt at a solution was the following. Suppose $G$ isn't bipartite. Then $G$ must contain an odd cycle of length $\geq 5$. Number the vertices on the cycle $v_1, ..., v_{2k+1}$. Then $v_i$ must be connected to $v_{i+3}$, otherwise we have $P_4$ as an induced subgraph. I believe iterating this argument (so $v_i\sim v_{i+12}$ and so on) must yield $C_3$ as an induced subrgraph at some point... How do I show this?
Theorem: A graph is bipartite if and only if it does not contain any odd cycle.
3-cycles: $C_3$ is explicitly mentioned in the condition, i.e., there is no $C_3$
$\geq5$-cycles: Suppose we have one $C_{2k+1} = (v_1, v_2, \ldots, v_{2k+1})$ with $k \geq 2$, then