Jack has n amount of cards. At first, all cards are either green or red. However, Jack wants to transform all cards into black. He can only color the green card black. Additionally, when a card turns black, the adjacent card will turn red if they are green, green if they are red, and stay black if they are black. Any card that is colored to black will stay black. For example, “R”, “G”, “G”, “R” If Jack colors the second card from the left, “G”, “B”, “R”, “R” Prove that Jack can make all n card black if and only if the number of cards that are initially green is odd.
I have tried strong induction but I cannot figure out the induction step. can you give me some ideas?