Find a 8-digit number, where the first figure defines the count of zeros in this number, the second figure the count of numeral 1 in this number and so on.... Start with 8 digit number, starting from left to right, first digit indicate number of 0's in 8 digit number, second digit indicate number of 1's in 8 digit number. Similary 7th digit indicate number of 7's in 8 digit number. 70000000 //8 digit number 7 indicate number of 0's in the number. 70000001 //As number of 7's = 1 so 7th place is 1 60000001 //As due to 1 on 7th place number of zeros = 6 60000010 //As 6 is present so 7th place, number of 6's = 1; number of 7's = 0 61000010 //As 1 is present on 7th place ; number of 1's = 1 so 2nd place there should be 1 51000010 //As number of 0's = 5 51000100 //As 5 is present so 6th place is 1 number of 6's = 0; number of 7's = 0 52000100 //As number of 1's = 2 52100100 //As 2 is present on 1st place so 3rd place is 1 42100100 // As number of 0's = 4 so 1st place is 4 42101000 // As 4 is present so 5th place is 1; number of 5's, 6's and 7's = 0; We got the answer as 4210 1000.
Thursday, September 1, 2011
Find the 8 digit number
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment