Powered By Blogger

Wednesday, 18 June 2014

Puzzle given to me by Vidyu

A puzzle was given to me by Vidyu as follows-
There is a four digit number 'aabb' formed by the 2 digits'a' and 'b' which is a perfect square.Find the values of 'a' and 'b'.
There are no such cases in our normal 'decennial' system.i.e numbers to base 10.
It could be in a system with another base.
If the base is 'x',the number can be expressed as ax^3+ax^2+bx+b which can be simplified as
(ax^2+b)(x+1).
If this has to be a perfect square both (x+1) and (ax^2+b) should be squares.
Thus x can have a value 3 or 8.(See below where x=3)
If x=8 we must have (64a+b) must be a square.The only possible values for a and b are a=5 and b=4.as 64*5+4=324 which is a square.
Thus the solution is 5544 in base 8.
5544 in base 8 is equal to 2916 in base 10 which is the square of 54(base 10)
54 in base 10 is equal to 6*8+6 i.e 66 in base 8.
Thus purely considering both numbers in base 8,...5544 is the square of 66
You can check by multiplying 66 by 66 following the rules for all calculations viz multiplication,addition etc for base 8.
6*6=36=4*8+4=44 in base 8.We have to carry forward 4.
6*6+4(carried forward)=36+4=40=50 in base 8.
Thus 6*66=504 and so 66*66=5544.
There is no use in considering the value x=3 as in that case the number should be 0011,which is not a 4 digit number.
As a matter of variation, I cosidered other bases.
In base 9 ,the square of 66 will be 4840  and in base 7 it will be 6501,You can check. 

Sunday, 15 June 2014

Tossing of a coin-Probabilities

Suppose you toss a coin-You may get a head(H) or tail (T)---2 variations
Suppose you toss it a second time-You may get
 HH,HT,TH,TT-4 variations
Suppose you toss once more-
You may get HHH,HHT,HTH,HTT,THH,THT,TTH,TTT-8 variations
Suppose you try to find out the number of cases where 2 heads do not occur in consecutive tosses
You will find the following position-
2 tosses-HT,TH,TT---3 cases
3 tosses-HTH,HTT,THT,TTH,TTT-5 cases
If you procced further you will find the following-
4 tosses-8 cases
5 tosses-13 cases
The number of cases of this occuring are respectively 3,5,8,13....These are numbers in the famous Fibonnaci sequence where each number from the 3rd is the sum of previous 2 numbers
The further number of cases are thus 21,34,55,89,144...etc for 6,7,8,9,10...number of tosses.
Of course the numbers of cases where 2 tails occur in consecutive tosses are also the same.

Thursday, 5 June 2014

Arithmetical progressions-3

I had posted 2 blogs earlier on the subject-the first for familiarising the topic-arithmetical progressions and second for finding subsequent terms/sums of terms etc.
Let me now show you an interesting observation-
Consider the 10 terms in the following progression-
1,5,9,13,17,21,25,29,33,37
Step 1-I will now multiply the first with the last,the second with the penultimate and so on and tabulate the results-
1*37=37..,5*33=165...9*29=261...13*25=325...17*21=357   viz 37,165,261,325,357
Step2- I start finding the differences between successive values above starting from the last 357
357-325=32,...,325-261=64....261-165=96...165-37=128  viz  32,64,96,128
Step3-Again I find the differences.I will get all values equal to 32.
Similar procedure has been adopted for the 8 terms in another progression  1,4,7,10,13,16,19,22
to get the following results
Step1-22,76,112,130
Step 2-18,36,54
Step 3- All values equal to 18.
You can get similar results for any arithmetical progression,starting with any number,involving any common difference,and any number of terms-only the number of terms should be even and not odd,as in that case there will be a middle term which will have no companion for multiplication
You can predict what the final result in the final step will be in any such case.
For instance consider the progression starting with 7,having common difference 5 and a total of 32 terms.The final result at the final step will be-You will get all values equal to 50.This is 2 times the square of the common difference 5 viz 2*5*5=50,like in the earlier examples shown viz 2*4*4=32 and 2*3*3=18

Monday, 2 June 2014

Divisibility

Find the smallest perfect square larger than 100000 which is divisible by 392?
2)What will be the smallest if it should be larger than 150000?
3)What will be the smallest larger than 100000,if it should be divisible by 1323?