
The digits of the year $2020$ add up to $2$. In how many years has this happened since the year \[\] till this year $2004$?
A.$3$
B.$6$
C.$9$
D.$10$
Answer
508.8k+ views
Hint: Now we need to see the numbers when the digits are added the sum must be $2$. So from $1$ see the numbers such that its sum is $2$. Count all the numbers which have sum $2$ that will be the answer.
Complete step by step solution
Given:
The sum of the digits of year is $2$.
First let us see how many numbers are there from $1$ to $100$ such that the sum of digits is $2$.
The number we have such that the sum of the digits is $2$
$2$, $11$, $20$.
Hence there are three numbers from $0$ to $100$ having the sum of numbers is $2$.
Second let us see how many numbers there are from $100$ to $1000$ such that the sum of digits is $2$.
The number we have such that the sum of the digits is $2$
$110$,$101$$200$.
Hence there are three numbers from \[\] to $1000$ having the sum of numbers is $2$.
Third let us see how many numbers there are from $1000$ to $2000$ such that the sum of digits is $2$.
The number we have such that the sum of the digits is $2$.
$1001$, $1100$, $1010$, $2000$.
Hence there are four numbers from $1000$ to $2000$ having the sum of numbers is $2$.
From $2001$ to $2004$ there are no numbers having sum as $2$.
Total from \[\]to $2004$ there are $10$ elements having the digit sum as $2$.
Note: $2$in year is nothing but $0002$ years, $11$in year is $0011$, $20$in year is \[\], $101$ in year is $0101$, $110$ in year $0110$, $200$ in year $0200$.
Complete step by step solution
Given:
The sum of the digits of year is $2$.
First let us see how many numbers are there from $1$ to $100$ such that the sum of digits is $2$.
The number we have such that the sum of the digits is $2$
$2$, $11$, $20$.
Hence there are three numbers from $0$ to $100$ having the sum of numbers is $2$.
Second let us see how many numbers there are from $100$ to $1000$ such that the sum of digits is $2$.
The number we have such that the sum of the digits is $2$
$110$,$101$$200$.
Hence there are three numbers from \[\] to $1000$ having the sum of numbers is $2$.
Third let us see how many numbers there are from $1000$ to $2000$ such that the sum of digits is $2$.
The number we have such that the sum of the digits is $2$.
$1001$, $1100$, $1010$, $2000$.
Hence there are four numbers from $1000$ to $2000$ having the sum of numbers is $2$.
From $2001$ to $2004$ there are no numbers having sum as $2$.
Total from \[\]to $2004$ there are $10$ elements having the digit sum as $2$.
Note: $2$in year is nothing but $0002$ years, $11$in year is $0011$, $20$in year is \[\], $101$ in year is $0101$, $110$ in year $0110$, $200$ in year $0200$.
Recently Updated Pages
Master Class 11 Physics: Engaging Questions & Answers for Success

Master Class 11 Chemistry: Engaging Questions & Answers for Success

Master Class 11 Biology: Engaging Questions & Answers for Success

Class 11 Question and Answer - Your Ultimate Solutions Guide

Master Class 11 Business Studies: Engaging Questions & Answers for Success

Master Class 11 Computer Science: Engaging Questions & Answers for Success

Trending doubts
The Equation xxx + 2 is Satisfied when x is Equal to Class 10 Maths

Gautam Buddha was born in the year A581 BC B563 BC class 10 social science CBSE

Which one is a true fish A Jellyfish B Starfish C Dogfish class 10 biology CBSE

Fill the blanks with proper collective nouns 1 A of class 10 english CBSE

Why is there a time difference of about 5 hours between class 10 social science CBSE

What is the median of the first 10 natural numbers class 10 maths CBSE
