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-4 of 4 results.

A227590 a(n) = A003022(n)+1 with a(1)=1.

Original entry on oeis.org

1, 2, 4, 7, 12, 18, 26, 35, 45, 56, 73, 86, 107, 128, 152, 178, 200, 217, 247, 284, 334, 357, 373, 426, 481, 493, 554, 586
Offset: 1

Views

Author

Jens Voß, Jul 17 2013

Keywords

Comments

Since A003022 is the most important sequence dealing with Golomb rulers, it seems best to define this sequence in terms of that one.
Original name was: Maximum label within a minimal labeling of 2 identical n-sided dice yielding the most possible sums. For example, two hexahedra labeled (1, 3, 8, 14, 17, 18) yield the 21 possible sums 2, 4, 6, 9, 11, 15, 16, 17, 18, 19, 20, 21, 22, 25, 26, 28, 31, 32, 34, 35, 36. No more sums can be obtained by different labelings, and no labeling with labels < 18 yields 21 possible sums. Therefore a(6) = 18.
Bounded above by A005282. - James Wilcox, Jul 27 2013
Minimum greatest integer in a set of n positive integers with all the differences between any two of its elements being different. - Javier Múgica, Jul 31 2015

Crossrefs

Cf. A003022.
Column k=2 of array A227588.

Extensions

More terms from James Wilcox, Jul 27 2013
Entry revised by N. J. A. Sloane, Apr 08 2016
a(28) from A003022 added by Michel Marcus, Feb 10 2025

A259544 Minimum greatest integer in a set of n positive integers whose nonempty subsets all have distinct arithmetic means.

Original entry on oeis.org

1, 2, 4, 7, 16, 32, 75, 169, 396
Offset: 1

Views

Author

Javier Múgica, Jun 30 2015

Keywords

Comments

Let a set of integers be called "of different average" if any two distinct, nonempty subsets of it have distinct arithmetic means. E.g., the set {1,2,5} is of different average because 1 != 2 != 5 != (1+2)/2 != (1+5)/2 != (2+5)/2 != (1+2+5)/3.
In order for a set to be of different average it is obvious that all its elements must be different. Also, if a set is of different average and a constant k is added to all the terms, the resulting set will also be of different average. Because of this, in order to study such sets it is convenient to select an arbitrary first element, say 1. Therefore the terms of this sequence are defined as: the least a_n such that the set 1 = a_1 < a_2 < a_3 < ... < a_n is of different average.
The set {1,2,4,...,2^(n-1)} satisfies that any natural number can only be written in one way as a sum of elements of the set (each element being allowed to enter only once into the sum), so it is a good candidate as a different average set, and it is so up to 1,2,4,8,16,32, but it fails for 1,...,64, since (4+8+16+64)/4 = (1+2+16+32+64)/5 = 23. Other than by brute force, this can easily be found by noting that the number 23, written in binary notation: 10111, has four ones, hence 4 times the number obviously has four ones too, while 5 times the number = 1110011 has five ones, and those are the subsets.
Conjecture: The only term that is < 2^(n-1) is a(4)=7.
It may be proved that, for n>1, a(n) < 4^(n-1):
Suppose we already have a set of n-1 numbers satisfying the property. If an element a_n is added, 2^n possible sets can be formed, hence fewer than 2^n * 2^n / 2 = 4^n/2 pairs of sets. If a certain value of a_n gives the same average for two such subsets, any other value will yield different averages. It is easy to see that only half the pairs need be considered; hence there is at least one value of a_n < 4^(n-1) that yields different averages for all pairs of subsets.
If more set pairs are excluded, viz. sets that both include a_n and that either have the same number of elements (because the set a_1,...,a_(n-1) is presumed to already satisfy the property) or the set having more elements has a lower average than the other with a_n excluded from both (a_n will eventually be greater than all the other a_i; if not, interchange the a_n found with one of the a_i and "run" the reasoning again), the 4^(n-1) bound may be improved slightly. Note that the latter property of set pairs is transitive, in the sense that if any such pair satisfies the property, the pair formed by adding a_n to both sets also satisfies the property.
What is lim_sup a(n)^(1/n)? The upper bound above proves it is <=4.
Conjecture: lim a(n)/2^n = infinity. (Note that this is weaker than lim_inf a(n)^(1/n) > 2.)
Does lim a(n)^(1/n) exist?
A259545 provides the values of N such that all k>=N can be the greatest element of a different average set of n elements.
A set of different average with n elements has A001405(n) ~ 2^n * sqrt(2/(Pi*n)) subsets of size floor(n/2) which must have different sums, so the largest such sum is at least A001405(n), and thus the largest element is at least A001405(n)*2/n. This shows that lim inf a(n)^(1/n) >= 2. - Robert Israel, Aug 02 2015
a(10) <= 1303, as shown by the example {1, 43, 151, 235, 421, 981, 1093, 1161, 1266, 1303}. - Robert Israel, Jan 20 2016
a(10) <= 1252, as shown by the example {1, 76, 181, 211, 293, 727, 1126, 1196, 1216, 1252}. - Robert Israel, Jan 25 2016
Changing this sequence's requirement of "distinct arithmetic means" to "distinct sums" gives sequence A276661. - Jon E. Schoenfield, Nov 05 2016

Examples

			The 15 averages of 1 to 4 elements in the set {1, 2, 5, 7} (or alternately {1, 3, 6, 7}) are all different, so a(4) <= 7. There are no such sets of 4 positive integers with all members less than 7, so in fact a(4) = 7.
The set providing the last term at present in the sequence, viz. 396 = a(9), is {1, 13, 21, 51, 151, 327, 336, 342, 396} (or, by symmetry, {1, 55, 61, 70, 246, 346, 376, 384, 396}).
		

Crossrefs

Formula

a(n) < 4^(n-1) for n > 1, see comments.

Extensions

a(9) from Javier Múgica, Nov 12 2015

A227358 Length of shortest Golomb-like (for sums of triples) ruler with n marks.

Original entry on oeis.org

0, 1, 4, 11, 23, 45, 82, 129, 208, 309
Offset: 1

Views

Author

John Tromp, Jul 08 2013

Keywords

Comments

a(n) is the least integer such that there is an n-element set of integers between 0 and a(n), the sums of triples (of not necessarily distinct elements) of which are distinct.
a(11) = 445 or a(11) < 440, but disproving the latter will take many cpu-years with the given program. - John Tromp, Aug 28 2013

Examples

			a(4) = 11 because 0-1-7-11 (0-4-10-11) and 0-1-8-11 (0-3-10-11) have all (6 choose 3)=20 distinct triple sums and there is no 0=b0<b1<b2<b3<11 with distinct triple sums.
		

Crossrefs

Programs

  • C
    // See link.

Formula

a(n) = A227588(n,3) - 1. - James Wilcox, Aug 02 2013

Extensions

a(8)-a(10) from John Tromp, Jul 30 2013

A227589 Maximum label within a minimal labeling of n identical 4-sided dice yielding the most possible sums.

Original entry on oeis.org

1, 4, 7, 12, 16, 23, 29, 38, 46, 57, 67, 80, 92, 107, 121, 138, 154, 173, 191, 212, 232
Offset: 0

Views

Author

Jens Voß, Jul 17 2013

Keywords

Examples

			Three tetrahedra labeled (1, 2, 8, 12) yield the 20 possible sums 3, 4, 5, 6, 10, 11, 12, 14, 15, 16, 17, 18, 21, 22, 24, 25, 26, 28, 32, 36. No more sums can be obtained by different labelings, and no labeling with labels < 12 yields 20 possible sums. Therefore a(3) = 12.
		

Crossrefs

Row n=4 of array A227588.

Formula

Conjecture: a(n) = (n^2 + 3n + 5 - (-1)^n)/2 for n > 1.
Conjecture: a(n) = 2*a(n-1)-2*a(n-3)+a(n-4) for n>5. G.f.: (x^5-x^4-x^2+2*x+1) / ((x-1)^3*(x+1)). - Colin Barker, Aug 01 2013
Showing 1-4 of 4 results.