ret += show_bound % str(bound)
ret += "</a></td>\n"
- dump = "<h2><a name=\"details_%d_%d\">n=%d, m=%d</a></h2>\n" % (n, m, n, m)
- dump += "<p>Best dissection known for %d into %d, with minimum fragment %s:\n" % (n, m, str(best))
+ dump = "<h3><a name=\"details_%d_%d\">n=%d, m=%d</a></h3>\n" % (n, m, n, m)
+ dump += "<p>Best dissection known for %d into %d: minimum fragment is %s.\n" % (n, m, str(best))
dump += "<ul><li>Cut up %d sticks of length %d as follows:<ul>\n" % (m, n)
for count, pieces in dissection[0]:
dump += "<li>%d × (%s)\n" % (count, " + ".join(map(str, pieces)))
table = "<table>"
table += "<tr>\n"
- table += "<th>n \\ m</th>\n"
+ table += "<th>n \\ m</th>\n"
for m in range(2,limit-1):
table += "<th>%d</th>\n" % m
table += "</tr>\n"