
26 Apr
2017
26 Apr
'17
8:39 a.m.
Maybe just enumerate the possibilities 1 * 1 = 1 => 111 1 * 2 = 2 => 112 1 * 3 = 3 => 113 ... 2 * 1 = 2 => 212 ... _____ From: Haskell-Cafe [mailto:haskell-cafe-bounces@haskell.org] On Behalf Of Mahmoud Murad Sent: Wednesday, April 26, 2017 8:03 AM To: haskell-cafe@haskell.org Subject: [Haskell-cafe] complex multiplication function in Haskell Hi there, The number 354162 has 6 digits and contains all digits from 1 to 6, and it can be considered as a multiplication of 3 * 54 = 162. so what I need is a function that will take all the real number and return the number that can be split as above, 354162 .. 3 * 54 = 162 I have no idea how to do such a thing! any help!