A341534 Number of possible final configurations in a biased cake-cutting procedure for n people.
1, 1, 2, 3, 5, 6, 7, 8, 11, 12, 13, 14, 16, 18, 19, 20, 22, 23, 24, 26, 27, 29, 30, 31, 32, 33, 35, 37, 38, 39, 40, 41, 43, 45, 47, 48, 49, 50, 51, 52, 53, 55, 56, 58, 59, 60, 61, 62, 64, 66, 67, 68, 69, 71, 72, 74, 75, 76, 77, 78, 79, 80, 81
Offset: 1
Keywords
Examples
========================================================================= 1 | 2 | 3 | 4 | ========================================================================= | | | t^3 > 1-t > t*(1-t) > t^2*(1-t) | | | t^2 > 1-t > t*(1-t) +-----------------------------------+ | | | 1-t > t^3 > t*(1-t) > t^2*(1-t) | 1 | t > 1-t +---------------------+-----------------------------------+ | | 1-t > t^2 > t*(1-t) | t^2 > t*(1-t) = t*(1-t) > (1-t)^2 | ========================================================================= n=1: the whole cake is the only piece, a(1) = 1. n=2: the first division necessarily divided 1 into t and 1-t; t and 1-t are necessarily ordered this way: t > 1-t. a(2) = 1. n=3: the second division necessarily divided t into t^2 and t*(1-t); t*(1-t) is necessarily smaller than both t^2 and 1-t; but either t^2 or 1-t may be the biggest: it depends on whether t < 1/phi or t > 1/phi, where phi denotes the golden ratio; so there are two cases and a(3) = 2. n=4: * in the case when t^2 > 1-t, the third division divided t^2 into t^3 and t^2*(1-t); t^2*(1-t) is necessarily smaller than t*(1-t) which is necessarily smaller than both t^3 and 1-t; but either t^3 or 1-t may be the biggest: it depends on whether t < 1/psi or t > 1/psi, where psi denotes the constant described in A092586 (sometimes called the supergolden ratio); so there are two subcases; * in the case when 1-t > t^2, the third division divided 1-t into t*(1-t) and (1-t)^2; the order of the elements is fully determined without requiring new assumptions on t, so there is just one subcase; * gathering all subcases contributions yields a(4) = 3.
Links
- Luc Rousseau, Java program
- Luc Rousseau, SVG illustration for n=1..10
Programs
-
Java
// See Rousseau link.
Comments