in reply to Golf: Buying with exact change
The problem is discussed in some detail e.g. in the beautiful book generatingfunctionology by Prof. Wilf, available for download from http://www.math.upenn.edu/%7Ewilf/DownldGF.html
To quote from Wilf:
There are no general `formulas' for the conductor if M >= 3, and no good algorithms for calculating it if M >= 4.(M is the number of "changes" and the "conductor" is the smallest quantity N such that all n>=N can be represented as sums of the changes. In this case the latter must be -of course- coprime.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Golf: Buying with exact change
by tilly (Archbishop) on Feb 25, 2005 at 05:25 UTC | |
|
Re^2: Golf: Buying with exact change
by Anonymous Monk on Feb 24, 2005 at 08:11 UTC |