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 behavior is a(n) ~ 3/4 * 2^(1/3) * n^(4/3).
From Martin Fuller, Jul 26 2025: (Start)
A slightly better upper bound can be obtained from the following set: {1, 2, ..., r-1; n+1-r*(s-1), n+1-r*(s-2), ..., n+1-r} where r*s <= n+1 < r*(s+1). If n+1-r*s <= r/2-1 then n+1-r*s can be removed from the set.
There is an optimal set of this form for 54 of the first 100 terms of the sequence. (End)
LINKS
Martin Fuller, Table of n, a(n) for n = 0..100
Martin Fuller, Python program
PuzzleUp, 2009 No 10, 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[{#, #}]]] == {} &]]
PROG
(Python) # See Fuller link.
CROSSREFS
KEYWORD
nonn
AUTHOR
David Bevan, Sep 29 2009
EXTENSIONS
a(41) onwards from Martin Fuller, Jul 26 2025
STATUS
approved
