Solution
⌊log2(x1)⌋ is even when
x∈(21,1]∪(81,41]∪(321,161]∪⋯
Likewise: ⌊log5(y1)⌋ is even when
y∈(51,1]∪(1251,251]∪(31251,6251]∪⋯
Graphing this yields a series of rectangles which become smaller as you move toward the origin. The x interval of each box is given by the geometric sequence 21,81,321,⋯, and the y interval is given by 54,1254,31254,⋯
Each box is the product of one term of each sequence. The sum of these boxes is simply the product of the sum of each sequence or:
(21+81+321…)(54+1254+31254…)=(1−4121)(1−25154)=32⋅65=95,
and the answer is m+n=5+9=014.