December 23rd, 2012, 11:17 PM

Extract one number from other
433827 has been extracted from 9423549 number. i dont know which algorithm has been used on it. please somebody help me and tell me how 433827 has bee extracted from 9423549. please.
December 23rd, 2012, 11:44 PM

Well, could be
Code:
if input == 9423549 {
output = 433827
}
or
Code:
output = input  8989722
or
Code:
output = (input  313182) / 21
or
Code:
output = string(input[1], input[3], input[3], input[0]  1, input[2], input [6]  2)
or
Code:
output = reverse(reverse(input)  8724915)
or
Code:
output = string(min(input[0], input[1]), (input[1] + input[2]) / 2, max(input[2], input[3]), input[3] + input[4], 2 * (input[4]  input[5]), input[6]  input[5] / 2)
or even
Comments on this post
December 24th, 2012, 01:22 AM

Originally Posted by requinix
Well, could be
Code:
if input == 9423549 {
output = 433827
}
or
Code:
output = input  8989722
or
Code:
output = (input  313182) / 21
or
Code:
output = string(input[1], input[3], input[3], input[0]  1, input[2], input [6]  2)
or
Code:
output = reverse(reverse(input)  8724915)
or
Code:
output = string(min(input[0], input[1]), (input[1] + input[2]) / 2, max(input[2], input[3]), input[3] + input[4], 2 * (input[4]  input[5]), input[6]  input[5] / 2)
or even
Thanks. i did'nt get it. the out put is 433827 and the input is 9423549. the question which method has used to get such an out put
December 24th, 2012, 07:56 AM

Originally Posted by saifullahiitkus
Thanks. i did'nt get it. the out put is 433827 and the input is 9423549. the question which method has used to get such an out put
You need to post a few more examples.
I mean, if I asked how to get from "A" to "B", what would you (or anyone guess)?
But if I asked "A" to "B", "B" to "C", "C" to "D", "D" to "E", we all might figure out the pattern that would reasonably allow us to guess what "S" would translate to.