At present time I stay in Minsk, Belarus.
At hotel’s welcome desk I found a small booklet,
advertising this country’s sites of interest (Brest, Vitebsk etc ) .
I have ended up with the following puzzle:
BOOKLET + BREST= BELARUS
It looks challenging, especially if solved without software.
ENJOY!
MATLAB software for this is quite concise):
s=perms('1234567890');
for i=1:length(s)
belarus=s(i,1:7);
brest=s(i,[1 5 2 7 8]);
booklet=s(i,[1 9 9 10 3 2 8]);
if str2num(booklet)+str2num(brest)==str2num(belarus)
disp([booklet ' ' brest ' ' belarus])
end
end
|
Posted by Charlie
on 2021-05-11 23:21:24 |