Five sticks (S1, S2, S3, S4 and S5) are placed next to each other, in a circular way so that S1 is next to S2, S2 is next to S3 and so on, and S5 is next to S1.
The sticks need to be painted black or white, such that each stick can be only painted one colour, and if two sticks are painted the same colour, they must be next to each other.
Solve this problem using propositional logic, or prove that it cannot be solved.
Here is my attempt:
These are the formulas I have come up with:
S1B → S2B (If S1 is painted black, S2 is also painted black)
S1W → S2W (If S1 is painted white, S2 is also painted white)
S2B → S3B
S2W → S3W
S3B → S4B
S3W → S4W
S4B → S5B
S4w → S5w
S5B → S1B
S5W → S1W
I am not sure how to proceed from here. I think I need to combine these formulas into a single formula and show that it is a tautology (or not), but I seem to be stuck here.
Please help.