Ir al contenido
m·amathatlas
ExplorarAcerca deProblemas abiertosAutores citadosMi bibliotecaFeedback
Iniciar sesión
FRENES
Cargando vistas…Solo vistas recientes, en todos los idiomas. El historial de Vercel no está disponible para esta página. Las visitas repetidas en la misma pestaña se agrupan durante 30 minutos.
CompartirLinkedInXFacebookWhatsApp
← Todos los problemas abiertos
Pregunta sin respuesta

A frog hopping puzzle with a flavor of design theory and resource allocation

Combinatoria

Importado el 28 de noviembre de 2026

El foro clasificaba esta pregunta como sin respuesta en la fecha de recopilación. Esto no certifica un problema abierto de investigación; consulta las respuestas y el historial de la fuente.

Los enunciados y resúmenes están en inglés. Los conceptos de apoyo y los artículos de Wikipedia disponibles en español ayudan a comprenderlos. La fuente conserva la formulación completa y el debate.

Enunciado del problema (inglés)

I heard this problem from friends in theoretical computer science. Start with nnn frogs at position 000. Each move, the player selects a frog (say at position iii) to move forward by at most kkk steps, where kkk is the total number of frogs currently at position iii (before the move, so it includes the frog itself). Let T(n)T(n)T(n) be the minimal number of moves it needs to move all frogs to position nnn.

Obtaining the following two bounds are at the difficulty of tech-company interview questions:

Proposition 1. T(n)≥nlog⁡nT(n)\geq n\log nT(n)≥nlogn.

Proof. We shall prove T(n)≥∑i=1n⌈n/i⌉T(n)\geq \sum_{i=1}^n \lceil n/i\rceilT(n)≥∑i=1n​⌈n/i⌉. Label the frogs by 111 to nnn, and without loss of generality, we may assume each time we move the largest labeled frog in its location. Then each time the frog iii can at most move by iii steps, so the frog iii takes at least ⌈n/i⌉\lceil n/i\rceil⌈n/i⌉ steps to position nnn.

Proposition 2. T(n)≤nlog⁡2nT(n)\leq n\log_2 nT(n)≤nlog2​n (asymptotically).

Proof (sloppy). Divide and conquer. Move n/2n/2n/2 of them to the position n/2n/2n/2 (each taking only one step, so n/2n/2n/2 steps in total); then move the rest to n/2n/2n/2 using T(n/2)T(n/2)T(n/2) steps. Then repeat the same to move everything to nnn. So T(n)≤2(n/2+T(n/2))T(n)\leq 2(n/2+T(n/2))T(n)≤2(n/2+T(n/2)) and solving the recurrence gives T(n)≤nlog⁡2nT(n)\leq n\log_2 nT(n)≤nlog2​n.

Now note that there is a gap in the constant multiples between the bound!

Question. Improve the bound 1≤lim inf⁡nT(n)nlog⁡n≤lim sup⁡nT(n)nlog⁡n≤1log⁡2.1\leq \liminf_{n} \frac{T(n)}{n\log n} \leq \limsup_{n} \frac{T(n)}{n\log n} \leq \frac{1}{\log 2}.1≤liminfn​nlognT(n)​≤limsupn​nlognT(n)​≤log21​.

Current attempt: A more careful analysis of the method of Proposition 1 can prove the following:

Proposition 3. For n≥3n\geq 3n≥3, T(n)≥1+⌈n2⌉+⌊n2⌋+∑i=4n⌈ni⌉=1+n+∑i=4n⌈ni⌉.T(n)\geq 1+\left\lceil \frac{n}{2} \right\rceil+\color{red}{\left\lfloor \frac{n}{2} \right\rfloor}+\sum_{i=4}^n \left\lceil \frac{n}{i} \right\rceil=1+n+\sum_{i=4}^n \left\lceil \frac{n}{i} \right\rceil.T(n)≥1+⌈2n​⌉+⌊2n​⌋+∑i=4n​⌈in​⌉=1+n+∑i=4n​⌈in​⌉.

Proof. As in the proof of Proposition 1, label frogs as 111 to nnn and only allow to move the largest labeled frog in its location each time. Construct an n×(n+1)n\times (n+1)n×(n+1) grid with rows labeled by 1,…,n1,\dots,n1,…,n from bottom to top, and columns labeled 0,…,n0,\dots,n0,…,n from left to right. Fill a square, say (i,j)(i,j)(i,j), with 111 if the iii-th frog has visited position jjj, and 000 otherwise. Call the filling f(i,j)f(i,j)f(i,j).

Then the jumping rule amounts to the gap condition:

(*) If j1<j2j_1<j_2j1​<j2​ and iii satisfies that f(i,j1)=f(i,j2)=1,f(i,j)=0 for j1<j<j2f(i,j_1)=f(i,j_2)=1, f(i,j)=0\text{ for }j_1<j<j_2f(i,j1​)=f(i,j2​)=1,f(i,j)=0 for j1​<j<j2​, then j2−j1≤∣{i′:1≤i′≤i,f(i′,j1)=1}∣.j_2-j_1\leq |\{i': 1\leq i'\leq i, f(i',j_1)=1\}|.j2​−j1​≤∣{i′:1≤i′≤i,f(i′,j1​)=1}∣.

Denote the boundary condition

(**) f(i,0)=f(i,n)=1f(i,0)=f(i,n)=1f(i,0)=f(i,n)=1 for all iii.

Then is not hard to see that T(n)=min⁡f satisfies (*)(**)∑i,j=1nf(i,j).T(n)=\min_{f\text{ satisfies (*)(**)}} \sum_{i,j=1}^{n} f(i,j).T(n)=minf satisfies (*)(**)​∑i,j=1n​f(i,j).

(Note that the fillings at the leftmost column j=0j=0j=0 do not count.)

Then clearly each row iii needs to fill at least ⌈n/i⌉\lceil n/i\rceil⌈n/i⌉ squares by the gap condition. However, this extreme cannot be achieved.

Lemma. For any fff satisfying (*)(**), ∑j=1nf(2,j)+f(3,j)≥n\sum_{j=1}^n f(2,j)+f(3,j)\geq n∑j=1n​f(2,j)+f(3,j)≥n. (Instead of ≈n/2+n/3=5n/6\approx n/2+n/3=5n/6≈n/2+n/3=5n/6 predicted by before.)

Intuition. If you place the 2nd row every other square, then you can't place the 3rd row every three squares because you are only allowed to jump by 3 when the corresponding square on the 2nd row is filled.

"Proof" of Lemma. Induction on nnn, but it's kind of messy and requires a few cases.

Speculation. I guess the correct asymptotic for T(n)T(n)T(n) is nlog⁡2nn\log_2 nnlog2​n, so further meaning work probably lies in improving the lower bound. From the grid filling viewpoint, we want to fill the grid as sparse possible, but denser fillings on lower rows give more possibility for the upper rows to be sparser. This makes it hard to prove that any "greedy" construction is optimal, but it seems reasonable to believe that the following is.

A greedy construction. Consider the filling fff defined by: let kkk be the largest integer such that 2k≤i2^k\leq i2k≤i. Then jump the frog iii by 2k2^k2k steps each time, until it is able to jump to nnn directly.

It is not hard to convert this filling fff to an actual jump sequence, giving an upper bound

T(n)≤∑i=1n⌈n−i2⌊log⁡2i⌋+1⌉=?OEIS:A123753.T(n)\leq \sum_{i=1}^n \left\lceil \frac{n-i}{2^{\lfloor \log_2 i\rfloor}+1}\right\rceil \overset{?}{=}\text{OEIS:A123753}.T(n)≤∑i=1n​⌈2⌊log2​i⌋+1n−i​⌉=?OEIS:A123753.

(The =?\overset ?==? means the formulas are not quite the same on the nose, and I haven't tried to verify they are equal, though I expect it is an easy exercise.)

Conjecture. This is optimal.

Enunciado y contexto adaptados de MathOverflow · Yifeng Huang

CC BY-SA 4.0 · Formato adaptado; fórmulas matemáticas conservadas · Historial de la fuente

Conceptos para comprender

Comportamiento asintótico
Se estudia una cantidad cuando su parámetro crece mucho. Escribir f(n) ∼ g(n) significa que su cociente tiende a 1, no que sean exactamente iguales.

Temas : co.combinatorics · combinatorial-designs

Autores indicados por la fuente : Yifeng Huang

Fuentes y estado original

  • MathOverflow Estado en la fuente : unanswered at collection

Última actividad en la pregunta : 5 de febrero de 2025

Cobertura, fuentes y método

Este contador mide las fichas importadas, incluidas variantes distintas. No cuenta todas las preguntas matemáticas abiertas del mundo. Una ficha puede pertenecer a varias áreas y fuentes.

El repertorio no es exhaustivo ni se actualiza en tiempo real. « Abierto según la fuente » describe la clasificación observada al importar; no se ha verificado independientemente cada ficha importada. Las 32 fichas explicadas se revisaron por separado.

Formal Conjectures: se conservan solo enunciados « research open » sin prueba formal indicada; se comprueba su etiqueta en una versión concreta del repositorio. Las variantes siguen separadas. Un « sorry » no basta para establecer que el problema sigue abierto.

Erdős: se excluyen problemas resueltos, independientes o con una solución Lean, incluidos los « open (Lean) ». Se fusionan las coincidencias exactas con los enunciados principales de Formal Conjectures.

Open Problem Garden: se contrasta el índice abierto con el de resueltos; se excluyen spam, copias identificadas y algunos estados obsoletos. Los enunciados y sus definiciones se atribuyen a las páginas originales; se conservan las fórmulas y el contenido sigue bajo la GFDL. Se agrupan los duplicados reconocidos, sin resolver todas las equivalencias matemáticas.

OEIS: extracción directa de comentarios y fórmulas conjeturales, una ficha por sucesión, excluyendo resoluciones mencionadas. MathOverflow y Math Stack Exchange: preguntas clasificadas sin respuesta por su API, excluyendo publicaciones cerradas y categorías ajenas a la investigación. Se distinguen de los problemas señalados como abiertos. La colección es parcial y fechada; cada ficha atribuye autores y licencia.

Las exclusiones documentadas tienen en cuenta anuncios recientes y estados contradictorios. Una variante más fuerte o un caso particular puede seguir abierto tras resolverse otro enunciado.

Atribución: The Formal Conjectures Authors; teorth/erdosproblems y sus colaboradores; Open Problem Garden y sus colaboradores. Cada fuente conserva su licencia.

  • Formal Conjectures · 1924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18.857 · CC BY-SA 4.0
  • MathOverflow · 19.035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Comunicar un avance o una corrección
mathatlas

Un atlas independiente para comprender, leer y cuestionar la investigación.

Los artículos presentan resultados anunciados en distintas fases de verificación.
NewsletterDar mi opiniónAcerca de Datos y privacidad
Created by Sonny Mupfuni