Next Previous Contents

5. Table of optimal values

Horizontally M, the maximum number of coins exchanged.

Vertically K, the number of coins.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
2 2 6 12 20 30 42 56 72 90 110 132 156 182 210 240
3 3 10 24 46 80129196277 372 500 660 842104612721560
4 4 16 4710420737562498414752135
5 5 24 73189
6 6 32110
7 7 40
8 8 52
9 9 64
1010 76


Next Previous Contents