Problem

Source:

Tags: combinatorics, Coloring



each of the squares in a 2 x 2018 grid of squares is to be coloured black or white such that in any 2 x 2 block , at least one of the 4 squares is white. let P be the number of ways of colouring the grid. find the largest k so that $3^k$ divides P.