The number of positive three digit numbers that have exactly two consecutive digits which are equal, is . Find the sum of all natural numbers till .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
If we take x as the hundreds digit- Number of numbers of the form x00 = 9, number of numbers of the form x11 = 8(we can't use 0 and 1) Thus we get 17 for x11 and we will get 17 for each of x22, x33,x44,x55, x66, x77, x88,x99 Hence n= 9 + 17*9 = 162. Then if we use Arithmetic progression to find out the sum of all natural numbers till n,we will get 13203 as our answer.