Here’s a problem that is more abstract and a bit trickier than the previous ‘diversions’. It doesn’t require anything very sophisticated or obscure in terms of PowerShell, but might take a bit of extra thought on how to construct your solution.
Recently I say the following tweet from @standupmaths:
Multiple two two-digit numbers to get a four-digit answer. ab × cd = efgh Can you find one with all eight digits different?
As it happens there are quite a few solutions to this problem. Can you use PowerShell to find them?
Some things to work out:
Hints, if you need them.