Question and Answers Forum

All Questions      Topic List

Number Theory Questions

Previous in All Question      Next in All Question      

Previous in Number Theory      Next in Number Theory      

Question Number 515 by 112358 last updated on 25/Jan/15

Find the smallest number greater  than zero which can be written  with ones and zeroes and is evenly divisble  by 225.

$${Find}\:{the}\:{smallest}\:{number}\:{greater} \\ $$$${than}\:{zero}\:{which}\:{can}\:{be}\:{written} \\ $$$${with}\:{ones}\:{and}\:{zeroes}\:{and}\:{is}\:{evenly}\:{divisble} \\ $$$${by}\:\mathrm{225}. \\ $$

Answered by prakash jain last updated on 22/Jan/15

225=25×9  For 25, 10^2   number is of form n =Σ_(i=1) ^j 10^k_i  , k_i ∈N∪{0}  n is divisible 9.   Let say say k_i >k_(i−1) .  It is clear that for smallest n k_1 =0  ((10^k_j  +10^k_(j−1)  +10^k_1  )/9)=(((10^k_j  −1)+(10^k_(j−1)  −1)+...+(1+j−1))/9)  RHS is divisible by 9 only for j=9  So 9 terms are needed in the sum.  For smallest value for n  n=Σ_(k=0) ^8 10^k =111111111  Smallest n of the given form for 225.  11111111100

$$\mathrm{225}=\mathrm{25}×\mathrm{9} \\ $$$$\mathrm{For}\:\mathrm{25},\:\mathrm{10}^{\mathrm{2}} \\ $$$$\mathrm{number}\:\mathrm{is}\:\mathrm{of}\:\mathrm{form}\:{n}\:=\underset{{i}=\mathrm{1}} {\overset{{j}} {\sum}}\mathrm{10}^{{k}_{{i}} } ,\:{k}_{{i}} \in\mathbb{N}\cup\left\{\mathrm{0}\right\} \\ $$$${n}\:\mathrm{is}\:\mathrm{divisible}\:\mathrm{9}.\: \\ $$$$\mathrm{Let}\:\mathrm{say}\:\mathrm{say}\:{k}_{{i}} >{k}_{{i}−\mathrm{1}} . \\ $$$$\mathrm{It}\:\mathrm{is}\:\mathrm{clear}\:\mathrm{that}\:\mathrm{for}\:\mathrm{smallest}\:{n}\:{k}_{\mathrm{1}} =\mathrm{0} \\ $$$$\frac{\mathrm{10}^{{k}_{{j}} } +\mathrm{10}^{{k}_{{j}−\mathrm{1}} } +\mathrm{10}^{{k}_{\mathrm{1}} } }{\mathrm{9}}=\frac{\left(\mathrm{10}^{{k}_{{j}} } −\mathrm{1}\right)+\left(\mathrm{10}^{{k}_{{j}−\mathrm{1}} } −\mathrm{1}\right)+...+\left(\mathrm{1}+{j}−\mathrm{1}\right)}{\mathrm{9}} \\ $$$$\mathrm{RHS}\:\mathrm{is}\:\mathrm{divisible}\:\mathrm{by}\:\mathrm{9}\:\mathrm{only}\:\mathrm{for}\:{j}=\mathrm{9} \\ $$$$\mathrm{So}\:\mathrm{9}\:\mathrm{terms}\:\mathrm{are}\:\mathrm{needed}\:\mathrm{in}\:\mathrm{the}\:\mathrm{sum}. \\ $$$$\mathrm{For}\:\mathrm{smallest}\:\mathrm{value}\:\mathrm{for}\:{n} \\ $$$${n}=\underset{{k}=\mathrm{0}} {\overset{\mathrm{8}} {\sum}}\mathrm{10}^{{k}} =\mathrm{111111111} \\ $$$$\mathrm{Smallest}\:{n}\:\mathrm{of}\:\mathrm{the}\:\mathrm{given}\:\mathrm{form}\:\mathrm{for}\:\mathrm{225}. \\ $$$$\mathrm{11111111100} \\ $$

Terms of Service

Privacy Policy

Contact: info@tinkutara.com