Solveeit Logo

Question

Question: Find the sum of all odd numbers of four digits which are divisible by \[9.\]...

Find the sum of all odd numbers of four digits which are divisible by 9.9.

Explanation

Solution

Use the formula of the nth{{n}^{th}} term from beginning
Tn=a+(n1)d{{T}_{n}}=a+(n-1)d
Where a = first term
d = common difference
n = number of the term
Use the formula of sum of nn terms
Sn=n2[2a+(n1)d]{{S}_{n}}=\dfrac{n}{2}[2a+(n-1)d]

Complete step-by-step answer:
Four digit numbers, divisible by 99are
1017,1035,..........99991017,\,1035,..........9999
Sequence is in A.P with first term a = 10171017
Common difference = t2t1{{t}_{2}}-{{t}_{1}}
=10351017=\,1035-1017
=18=\,18
Tn=9999{{T}_{n}}=9999
Therefore
Use the formula of nth term from beginning is
Tn=a+(n1)d{{T}_{n}}=a+(n-1)d
9999=1017+(n1)189999=1017+(n-1)18
99991017=18n189999-1017=18n-18
Simplify the expression
18n=8982+1818n=8982+18
Rewrite the expression after simplification
18n=900018n=9000
n=900018n=\dfrac{9000}{18}
n=500n=500
Use the formula of the sum of the nth term is
Sn=n2[2a+(n1)d]{{S}_{n}}=\dfrac{n}{2}[2a+(n-1)d]
Put the value of a, n and d
=5002[2×1017+(5001)×18]=\dfrac{500}{2}[2\times 1017+(500-1)\times 18]
Simplify the expression
=250[2034+499×18]=250[2034+499\times 18]
=250×11016=250\times 11016
Rewrite the expression after simplification
=2754000=2754000

Required sum is equal to 2754000.

Note: This type of problem is also solved with the help of the formula.
Sn=n2[a1+an]{{S}_{n}}=\dfrac{n}{2}[{{a}_{1}}+{{a}_{n}}]
Where
a1={{a}_{1}}=First term
an={{a}_{n}}=Last term