A puzzle consists of a number of tiles, T, colored red on one side and blue on the other.
Start with all red side up. The goal is to get them all blue side up in the fewest number of rounds.
A round consists of flipping exactly N of them.
Find a rule for when the puzzle is impossible for given values of (T,N) with N≤T.
Find a rule for the number of rounds it will take when the puzzle is possible.
(In reply to
N = 3 by Steve Herman)
Some rules for the number of rounds:
When N = 1, T rounds.
When N = T, 1 round. (With the exception if T=0).
When N divides T, N/T rounds. (This rule encompasses the other two given rules.)

Posted by Dej Mar
on 20150411 05:24:04 