A frog hopping puzzle with a flavor of design theory and resource allocation
Imported on
The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.
Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.
Problem statement
I heard this problem from friends in theoretical computer science. Start with frogs at position . Each move, the player selects a frog (say at position ) to move forward by at most steps, where is the total number of frogs currently at position (before the move, so it includes the frog itself). Let be the minimal number of moves it needs to move all frogs to position .
Obtaining the following two bounds are at the difficulty of tech-company interview questions:
Proposition 1. .
Proof. We shall prove . Label the frogs by to , and without loss of generality, we may assume each time we move the largest labeled frog in its location. Then each time the frog can at most move by steps, so the frog takes at least steps to position .
Proposition 2. (asymptotically).
Proof (sloppy). Divide and conquer. Move of them to the position (each taking only one step, so steps in total); then move the rest to using steps. Then repeat the same to move everything to . So and solving the recurrence gives .
Now note that there is a gap in the constant multiples between the bound!
Question. Improve the bound
Current attempt: A more careful analysis of the method of Proposition 1 can prove the following:
Proposition 3. For ,
Proof. As in the proof of Proposition 1, label frogs as to and only allow to move the largest labeled frog in its location each time. Construct an grid with rows labeled by from bottom to top, and columns labeled from left to right. Fill a square, say , with if the -th frog has visited position , and otherwise. Call the filling .
Then the jumping rule amounts to the gap condition:
(*) If and satisfies that , then
Denote the boundary condition
(**) for all .
Then is not hard to see that
(Note that the fillings at the leftmost column do not count.)
Then clearly each row needs to fill at least squares by the gap condition. However, this extreme cannot be achieved.
Lemma. For any satisfying (*)(**), . (Instead of 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 , but it's kind of messy and requires a few cases.
Speculation. I guess the correct asymptotic for is , 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 defined by: let be the largest integer such that . Then jump the frog by steps each time, until it is able to jump to directly.
It is not hard to convert this filling to an actual jump sequence, giving an upper bound
(The 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.
Statement and context adapted from MathOverflow · Yifeng Huang
CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history
A few useful definitions
- Asymptotic behaviour
- This studies a quantity as its parameter becomes large. Writing f(n) ∼ g(n) means that their ratio tends to 1, not that the functions are exactly equal.
Sources and original status
- MathOverflow Status in source : unanswered at collection
Last activity on the question :
Coverage, sources and method
This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.
This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.
Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.
Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.
Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.
OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.
Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.
Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.
- Formal Conjectures · 1,924 · 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)