chiark
/
gitweb
/
~ianmdlvl
/
matchsticks-search.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Filled in some gaps in the writeup.
[matchsticks-search.git]
/
data
/
partition.22.18
1
22 into 18 best min fragment found: 13/2
2
Cut up 22 sticks of length 18 like this:
3
2 x (9 + 9)
4
8 x (15/2 + 21/2)
5
4 x (7 + 11)
6
8 x (13/2 + 23/2)
7
Reassemble as 18 sticks of length 22 like this:
8
2 x (11 + 11)
9
8 x (21/2 + 23/2)
10
4 x (7 + 15/2 + 15/2)
11
4 x (13/2 + 13/2 + 9)