|
| |
|
|
A165885
|
|
Minimum sum of a set of positive integers such that every positive integer <= n is the sum of 1 or 2 elements of the set
|
|
1
| |
|
|
0, 1, 1, 3, 3, 6, 6, 8, 8, 12, 12, 15, 15, 19, 20, 24, 24, 30, 30, 34, 35, 41, 42, 47, 47, 52, 52, 60, 60, 64, 65, 72, 72, 77, 78, 86, 88, 91, 92, 100, 100
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,4
|
|
|
COMMENTS
| If it is possible to make every value from 1 to n using at most 2 of the coins used in a country, what is the minimum possible value of the sum of the coins in this country?
By considering sets {1, 2, ..., r, 2r, 3r, ..., (s-1)r}, it is conjectured that the asymptotic behaviour is a(n) ~ 3/4 * 2^(1/3) * n^(4/3).
|
|
|
LINKS
| PuzzleUp, Coins
|
|
|
EXAMPLE
| a(8) = 8: {1,3,4}
|
|
|
MATHEMATICA
| a[n_] := Min[Total /@ Select[Subsets[Range[n], Floor[(n + 1)/2]], Complement[Range[n], Total /@ Join[Subsets[ #, {1, 2}], Transpose[{#, #}]]] == {} &]]
|
|
|
CROSSREFS
| Sequence in context: A175394 A070318 A023842 * A061795 A110261 A168237
Adjacent sequences: A165882 A165883 A165884 * A165886 A165887 A165888
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| David Bevan (dbevan(AT)emtex.com), Sep 29 2009
|
| |
|
|