• Want to level up your HSC prep on those harder Maths questions?
    Register now for the BoS Trials (7th October)!

Sum of Digits (1 Viewer)

juantheron

Active Member
Joined
Feb 9, 2012
Messages
259
Gender
Male
HSC
N/A
(1) Let N be the no. of 4 digit no. which conatain not more then 2 different Digit. Then the sum of digit of N is
 

RealiseNothing

what is that?It is Cowpea
Joined
Jul 10, 2011
Messages
4,574
Location
Sydney
Gender
Male
HSC
2013
Well since there can only be 1 or 2 different digits, let these digits be A and B, and let them be integers between 1 and 9.

We want to fill up the 4 digits spaces with either an A or B, hence there are 2x2x2x2 = 16 ways of arranging the digits.

Now we can choose A in 9 ways, and then B in 8 ways, hence A and B can be chosen in 72 ways.

Therefore since they can be chosen in 72 ways, and arranged in 16 ways, there are 72x16 = 1152 combinations.

Now we consider if 0 is included. 0 can not be the first digit, otherwise it trivially isn't a 4 digit number. So 0 can go in any of the other 3 spots, which can be done in 7 ways:

0 _ _
_ 0 _
_ _ 0
0 0 _
0 _ 0
_ 0 0
0 0 0

And we can place one number of the digits 1 to 9 in the remaining spots, so the amount of ways is 7x9 = 63

Summing the two cases gives:

1152 + 63 = 1215

Now this is N, and we want the sum of the digits of N, so the answer is:

1+2+1+5 = 9.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top