A rectangle with the lengths of sides and is partitioned into unit squares. The external slice of squares is colored with yellow, the next slice (all squares that share a vertex with external slice) are colored with blue. A slice of squares that touches the previous slice is colored with yellow and so on. Find the number of yellow and blue squares.
, 2010
Solution
Do allocate external slices of squares of each color step by step:
- yellow; - blue; - yellow; - blue; - yellow;
- blue.
Now calculate the number of squares in each slice as difference between numbers of squares of external and internal rectangles. Bottom-up:
Blue: .
Yellow: .
Blue: .
Yellow: .
Blue: .
Yellow: .
And simultaneously: yellow , blue .
Looking for a route rather than an archive? The track puts 2,000
problems in a working order, from AMC 10 level to the IMO shortlist.