The correct option is C 5/13
Given is a 6×6 grid.
The total number of squares in an n×n grid is calculated using:
Total squares=n(n+1)(2n+1)6
So,
Total squares=6(6+1)(2×6+1)6
=7×13=91
Similarly, for each differently colored grid,
Squares in yellow 3×3 grid
=3(3+1)(2×3+1)6 = 14
Total 3 x 3 squares = 4 x 14 = 56
Hence,
Squares with at least two colors = 91 - 56
= 35
Therefore,
Probability=3591=513