chiark
/
gitweb
/
~ianmdlvl
/
matchsticks-search.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f8b14cc9c33bb657f328922e6641cf604e3ce869
[matchsticks-search.git]
/
partition.8.3
1
8 into 3 best min fragment found: 4/3
2
Cut up 8 sticks of length 3 like this:
3
2 x (3)
4
6 x (4/3 + 5/3)
5
Reassemble as 3 sticks of length 8 like this:
6
2 x (5/3 + 5/3 + 5/3 + 3)
7
1 x (4/3 + 4/3 + 4/3 + 4/3 + 4/3 + 4/3)