Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Number puzzle

 
Muthukrishnan Manoharan
Ranch Hand
Posts: 91
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

289 => 187262
456 => 202492
748 => 283206
387 => ?

my observation:

289 => take 9 => 9*2=18, 9*8=72, 9*2+8=26 --> reverse it => 62 ==> 187262
456 => take 4 => 4*5=20, 4*6=24, 4*6+5=29 --> reverse it => 92 ==> 202492
748 => take 4 => 7*4=28, 4*8=32, 7*8*4=60 --> reverse it => 06 ==> 283206

so 387 ==> take 7 ==? 7*3=21, 7*8=56, 7*3+8=29 --> reverse it => 92 ==> 215692


Do you think I am correct. Or any suggestions or ideas? Help me please..
 
Paul Clapham
Sheriff
Pie
Posts: 20758
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You used a different rule for 289 (start by multiplying the first and third digits) compared to the other two (start by multiplying the first and second digits). Why was that?
 
Muthukrishnan Manoharan
Ranch Hand
Posts: 91
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply.

for 289 I took the last element 9 and multiplied with the remaining
for 456 I took the first element 4 and multiplied with the remaining
for 748 I took the middle element and multiplied with the remaining

so for 387 i again took the last element

Its just my very random guess and I am not sure if this is the solution.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic