N(1234...20112012)

For students of class 6-8 (age 12 to 14)
sakibtanvir
Posts:188
Joined:Mon Jan 09, 2012 6:52 pm
Location:24.4333°N 90.7833°E
N(1234...20112012)

Unread post by sakibtanvir » Fri Mar 02, 2012 10:51 pm

An integer $N$ is formed by writing first 2012 natural numbers left to right.
$N=1234567891011.....20112012$
How many $2$'s are there in $N$ ?
How many $0$'s are there in $N$ ?
Find the remainder when $N$ is divided by $9$ .
An amount of certain opposition is a great help to a man.Kites rise against,not with,the wind.

MATHPRITOM
Posts:190
Joined:Sat Apr 23, 2011 8:55 am
Location:Khulna

Re: N(1234...20112012)

Unread post by MATHPRITOM » Sat Mar 03, 2012 12:29 am

I give answer of first question.WE can think about the problem in a way that we want to count the number of 2's form 1 to 2002.
when , once 2 will be considered in a number a time, it will not be considered again. we will think for the numbers where 2 is presented more than one time later.
a)First, consider 1 digits number. we can get it by only 1 ways.
b)now, consider 2 digit numbers. let, 2 is in first position(একক স্থানীয় ঘর ). so,here the number of choose is 8.
c) now, consider 2 digit number where 2 is in 2nd position (দশক স্থানীয় ঘর ) .so, here the number of choose is 9.
d) 3rd digit number & 2 is in 1st position ,so, the possibilities are 9*8.
e) 3rd digit number & 2 is in 2nd position . again, possible condition is 9*8.
f) 3rd digit number & 2 is in 3rd position. so, possible condition is 9*9.
g) 4 digit number & 1 is in 4th position & 2 is in 1st,2nd or 3rd position .so, possible condition 3*9*9.
h)now, remaining numbers after the range 2000,2001,2002,...,2012. 2 is contained 14 times by them .

now, we consider the case where 2 appears more than 1 time.
i) for 2 digit numbers , 1 case.
j) for 3 digits , all digits are 2 is 1 case. for 2 digits are 2 the case is 9+9+8.
k) for 4 digits within limit 1000 to 1999, there are 4 possible conditions ..it's 3*9+1.
yahoo.. now, the answer is a+b+c+d+...+k.

sakibtanvir
Posts:188
Joined:Mon Jan 09, 2012 6:52 pm
Location:24.4333°N 90.7833°E

Re: N(1234...20112012)

Unread post by sakibtanvir » Sat Mar 03, 2012 11:19 am

I solved it like you.But it kills a lot of time :( .I wanted a combinatorial solution of this.
An amount of certain opposition is a great help to a man.Kites rise against,not with,the wind.

User avatar
nafistiham
Posts:829
Joined:Mon Oct 17, 2011 3:56 pm
Location:24.758613,90.400161
Contact:

Re: N(1234...20112012)

Unread post by nafistiham » Sat Mar 03, 2012 7:01 pm

sakibtanvir wrote:I solved it like you.But it kills a lot of time :( .I wanted a combinatorial solution of this.
well, I don't think there is any other way but counting.
\[\sum_{k=0}^{n-1}e^{\frac{2 \pi i k}{n}}=0\]
Using $L^AT_EX$ and following the rules of the forum are very easy but really important, too.Please co-operate.
Introduction:
Nafis Tiham
CSE Dept. SUST -HSC 14'
http://www.facebook.com/nafistiham
nafistiham@gmail

MATHPRITOM
Posts:190
Joined:Sat Apr 23, 2011 8:55 am
Location:Khulna

Re: N(1234...20112012)

Unread post by MATHPRITOM » Sat Mar 03, 2012 8:51 pm

There is a quote in a book about combinatorics " Often, counting the cases of the problem is also a great combinatorial problem." I think, this is such a problem. হা হা হা ......।।

Post Reply