cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

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.

Original entry on oeis.org

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

Views

Author

Javier Múgica, Aug 31 2022

Keywords

Comments

a(n) >= a(n-1). Hence this sequence is defined by its jumps: "Maximum k such that there exists an order two basis for the interval [1, k] with no multiplicity greater than n". This sequence has still too few known terms to have its own entry. It starts: 5, 55, 323. The next term is >= 1006 (in all likelihood it is greater).
a(n) is the minimum over all branches of length n in A265262 of the maximum number in each branch.
If the number 0 is allowed to be part of the basis then the "sum of at most two" from the definition should be changed to "sum of two".
It is believed that a(n) tends to infinity. Erdős and Turán conjectured in 1941 that any basis of order two for all the natural numbers cannot avoid large multiplicities. The two conjectures can easily be proved to be equivalent.
The bases yielding the highest n with given a(n) = k for each k are:
1: 1 3 5 (n <= 5)
2: 1 2 4 5 7 11 16 19 24 32 40 45 52 53 (n <= 55)
3: 1 2 3 5 6 8 9 17 20 22 28 29 40 47 53 57 69 83 90 99 107 117 131 141 152 162 172 182 193 203 217 227 237 248 258 268 279 289 303 313 (n <= 324)
For k = 4 the following basis serves for n <= 1006:
1 2 3 4 5 7 8 9 12 13 17 23 33 39 49 55 64 66 80 86 95 97 111 113 126 134 140 153 162 178 181 192 203 210 231 242 254 275 281 299 303 311 325 335 346 386 405 423 435 446 469 486 504 521 538 556 590 602 620 639 656 673 690 739 772 805 822 840 855 873 890 907 940 957 974 987 996

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.
		

Crossrefs

A265674 Sequence that encodes the compliform polynomials associated to the tree of hemitropic sequences.

Original entry on oeis.org

1, 0, 1, 0, 2, -1, 0, 1, 0, 3, 0, 1, 0, 4, -2, 0, 3, 1, 0, 3, 2, -1, 0, 2, 1, 0, 1, 0, 5, -2, 0, 4, 1, 0, 4, 2, 4, 0, 3, -2, 0, 3, 2, 0, 1, 0, 6, -2, 0, 5, 1, 0, 5, 2, 4, 0, 4, 1, 0, 4, 3, -3, 0, 4, 2, -4, 0, 3, 1, 0, 3, 2, 3, 0, 2, -3, 0
Offset: 1

Views

Author

Labib Haddad, Dec 13 2015

Keywords

Comments

For each integer n >= 1, e_n(x_2, ..., x_n) is a polynomial whose coefficients are integers and has degree 1 in each of the variables, x_2, ..., x_n, (a so-called compliform polynomial). Given the first n terms, 1, c_2, ..., c_n of a hemitropic sequence relative to a subset A of N, (see A265262), one has the following: c_(n+1) = e_n(c_2,...,c_n) if n+1 is not in A, c_(n+1 )= e_n(c_2,...,c_n) + 1 if n + 1 is in A. See Haddad link, formula (8), p. 37. The first few polynomials of the sequence e_n are:
e_1 = 1, e_2 = x_2 - 1, e_3 = x_3, e_4 =x_4 - 2x_3 + x_3x_2 - x_2 + 1, e_5 = x_5 - 2x_4 + x_4x_2 + 4x_3 - 2x_3x_2, e_6 =x_6 - 2x_5 + x_5x_2 + 4x_4 + x_4x_3 - 3x_4x_2 - 4x_3 + x_3x_2 + 3x_2 -3, e_7 =x_7 - 2x_6 + x_6x_2 + 4x_5 + x_5x_3 - 3x_5x_2 - 4x_4 - 2x_4x_3 + 4x_4x_2
+ 4x_3 - x_3x_2 - 4x_2 + 4.
Each monomial a.x_ix_j...x_k with i > j > ... > k, is converted into the sequence of integers a, 0, i, j, ..., k, where 0 is used for punctuation. There is no ambiguity. In the display, the monomials a.xixj, ..., xk, are ordered lexicographically in the (reverse) alphabet ..., n, ..., 3, 2. An e_n polynomial is thus converted into an irregular (finite) array:
e_1 = 1 --> 1;
e_2 = x_2 - 1 --> 1, 0, 2; -1;
e_3 = x_3 --> 1, 0, 3;
e_4 = x_4 - 2x_3 + x_3x_2 - x_2 + 1 --> 1, 0, 4; -2, 0, 3; 1, 0, 3, 2; -1, 0, 2; 1;
e_5 = x_5 - 2x_4 + x_4x_2 + 4x_3 - 2x_3x_2 --> 1, 0, 5; -2, 0, 4; 1, 0, 4, 2; 4, 0, 3; -2, 0, 3, 2;
Conversions are one-to-one, bijective. By concatenation of the arrays, the whole sequence of the e_n’s is again an infinite irregular array, with again 0 for punctuation.

Crossrefs

Cf. A265262.

Formula

An algorithm for the e_n's. For k >+ 1, let P_(k+1) = (x_(k+1) - e_k)^2 - (x_(k+1) - e_k) = x_(k+1)^2 -x_(k+1) -2x_k+1e_k + e_k^2 + e_k: a polynomial in several variables, having degree 2 in the variable x_(k+1).
Start with e_1 = 1. Once the polynomials e_1,...,e_(n-1) have been obtained, set E_n =(x_n-e_(n-1))+(x_2-e_1)(x_(n-1)- e_(n-2)) + ... + (x_m - e_(m-1))(x_(n-m+1) - e_(n-m)) with m = floor((n + 1)/2): a polynomial in the variables x_2,...,x_n, not necessarily compliform, whose coefficients are integers, and having degree 1 in x_n.
Then, reduce E_n as follows: Let E_(n,n-1) be the remainder in the Euclidean division of E_n by P_(n-1) as polynomials in x_(n-1). Inductively, let E_(n,n-1,...,k) be the remainder in the Euclidean division of E_(n,n-1,k+1) by P_k as polynomials in x_k. This gives e_n = E_(n,n-1,··· ,2), a compliform polynomial. See Haddad link p.32 Corollary.
Showing 1-2 of 2 results.