week 1 practice problems pending
Day 1: Q1. The repeating decimals x = 0.ababab... and y = 0.abcabc.... satisfy x + y = 33/37 Find the 3 digit number abc. S1. (10a+b)(1/100 + 1/10000...) = (10a+b)/100[1/1-1/100] = (10a + b)/99 (100a + 10b +c)(1/1000 + 1/1000,000....) = (100a+10b+c)/999 (10a + b)/99 + (100a+10b+c)/999 = 33/37 => 999(10a+b) + (100a+10b+c).99 = 33.99.999/37 = 27.33.99 => 111(10a+b) + (100a+10b+c).11 = 99^2 = 9801 => 2210a + 221b + 11c = 9801______[1] => a <= 4 2210*4 = 8840 => 221b + 11c = 961 b = 4 => 11c = 961 - 884 = 77 => c = 7 abc = 447 Also in [1] if we take mod 11 then: 2210a + 221b = 0 mod 11 221(-a +b) = 0 mod 11 => a = b mod 11 Since a,b are single digit => a = b 221a.11 + 11c = 9801 => 221a + c = 891 a = 4 => c = 7 Q2. Ten chairs are arranged in a circle. Find the number of subsets of this set of chairs that contain at least three adjacent chairs. S2. Let's do step by step. Subset size: 3 => There are 10 ways. Total: 10 Size: 4 => 10 ways to pick 4...