First time here? Check out the FAQ!
answered 6 years ago
https://ask.sagemath.org/question/45862/how-to-find-swich-presses-on-lamp-shutting-problem/
answers the duplicate.