Count the coins: Difference between revisions
m
→{{header|Maple}}
Line 2,187:
Additionally, while it's not proved as is, we can see that the first values for an amount 10^k obey the following simple formula:
<lang maple>
for k from 2 to 8 do lprint(
293
2103596
Line 2,197:
133339833445334138335450001
13333398333445333413833354500001</lang>
The polynomial P(n) seems to give the correct number of ways iff n is a multiple of 100 (tested up to n=10000000).
=={{header|Mathematica}} / {{header|Wolfram Language}}==
|