Professional Documents
Culture Documents
How many decimal numbers are three digit numbers in base 7 and four digit num
bers in base 6.
Solution :-
Smallest 3 digit number in base 7 = (100)_7 = 7^2 = (49)_10.
Largest 3 digit number in base 7 = (666)_7 = 7^3 - 1 = (342)_10.
[49,342] numbers are 3 digits numbers in base 7.
Smallest 4 digit number in base 6 = 6^3 = 216.
Largest 4 digit number in base 6 = 6^4 - 1 = 1295.
[216,1295] numbers are 4 digit numbers in base 6.
[216,342] common numbers.
Total decimal numbers = 342 - 216 + 1 = 127.
-------------------------------
Q. Q. How many 3 digits are there in decimal system which have exactly 3 digits
when expressed in both base 7 & base 13.
Solve:-
smallest 3 digit number in base 7 = (100)_7 = 7^2 = 49.
Q. If LCM of two numbers is 360, how many such ordered pairs are possible?
360 = 23 * 32 * 5
so our formula is (2a+1)(2b+1)(2c+1)
where a , b and c are power of prime
So [(2*3+1)(2*2+1)(2*1+1)
7*5*3=105
Q.The LCM of three positive integers X, Y and Z is 119^2. Find the total number
of ordered a triplets (X, Y and Z) and unordered triplets.
Ordered :
119^2 = 17^2 * 7^2.
--> LCM is 17^2 * 7^2
So, powers of 17 till the maximum power available (17^0, 17^1, 17^2) and powers
of 7 till the maximum power available 7 (7^0, 7^1, 7^2) will be distributed amon
g a, b, c such that at least one of a, b, c has the highest power of 17 and at l
east one of them has the highest power of 7.
Each of a, b, c can have any one of three powers of 17 in 3 ways. => a, b and c
can have powers of 17 in 3 * 3 * 3= 27 ways.
But this will also contain cases when a, b, c will not have highest power of 17
so we have to remove those cases.
Cases where highest power is in none of a, b and c is in 2 ways for each of a, b
and c => a, b and c cannot have highest power of 17 in 2 * 2 * 2 = 8 ways.
at least one = total cases - cases when none of them has highest power
a, b and c can have powers of 17, such that at least one of them has the highest
power of 17, in 27 8 = 19 ways.
Similarly, a, b and c can have powers of 7, such that at least one of them has t
he highest power of 7, in 19 ways.
so total ways = 19 * 19 = 361..
total ordered =361, now How to Find Unordered
Ordered=total cases (with arrangement) and Unordered (Without arrangement)
Case1 - when all are different
Case 2 - when 2 are same and one is different
Case 3 - when all are same
a) case1- when all are different : let those cases are x and number of ways
to arrange them =3!=6 so 6x
b) cases when two are same and one is different :