## Primed

Recently I’ve seen a couple of things on twitter that I’ve thought quite interesting because they have got me thinking about the way I tackled them.the first was this:

It was shared by John Rowe (@MrJohnRowe) and posed a nice question looking at two cuboids that had the same volume asking for the side lengths. It said to use digits from 0-9 without repetition. My immediate thought was to consider prime factors:

2, 3, 2^2, 5, 2×3, 7, 2^3, 3^2

I only had one each of 5 and 7 so discounted them. And I had an odd number of 2s. This meant I’d need to discount either the 2 or the 8. Discounting the 2 left me with factors of 2^6 and 3^4 thus I needed 2^3 x 3^2. I had a 1 I could use too so I had 1x8x9 = 3x4x6. This seemed a nice solution. I also considered the case for discounting the 8. I’d be left with 2^4 and 3^4 so would need products of 2^2×3^2. 1x4x9 = 2×3×6. Also a nice solution.

Afterwards I wondered if John had meant I needed to use all the digits, I started thinking about how this could be done and realised there would be a vast amount of possibilities. I intend to give this version of the the problem more thought later.