A356852 Minimum over all order two bases for the interval [1, n] of the maximum number of ways some number in the interval [1, n] can be written as a sum of at most two elements of the basis.
1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3
Offset: 1
Keywords
Examples
The basis 1, 3, 5 can serve to express every number in the interval [1, 5] in a unique way: 1 = 1, 2 = 1+1, 3 = 2+1, 4 = 2+2, 5 = 5. Hence a(1) = ... = a(5) = 1. This is the only basis with this property and cannot be extended further since 6 = 3+3 = 5+1. Therefore a(n) >= 2 for n >= 6. The basis 1, 3, 4, 9, 11, 16, 21, 23, 28 allows one to express every number in the interval [1, 31] as a sum of one or two elements from it, hence a(6) = ... = a(31) = 2.
Links
- Javier Múgica, Table of n, a(n) for n = 1..1000
- P. Erdős and P. Turán, On a problem of Sidon in additive number theory, and on some related problems, J. Lond. Math. Soc. 16 (1941), 212-215.
Comments