Benchmark AI / Public workspace
OlympiadBench / 2127 / Let n and k be fixed positive integers of the same parity, k≥n. We…
Problem
Answer published by the source. Consult the official source to check your work against its answer.
answer type
Expression
is multiple answer
false
language
English
question
Let and be fixed positive integers of the same parity, . We are given lamps numbered 1 through ; each of them can be on or off. At the beginning all lamps are off. We consider sequences of steps. At each step one of the lamps is switched (from off to on or from on to off).
Let be the number of -step sequences ending in the state: lamps on, lamps off.
Let be the number of -step sequences leading to the same state and not touching lamps at all.
Find the ratio .
Plain-text mathematical notation (without MathML)
Let n and k be fixed positive integers of the same parity, k≥n. We are given 2n lamps numbered 1 through 2n; each of them can be on or off. At the beginning all lamps are off. We consider sequences of k steps. At each step one of the lamps is switched (from off to on or from on to off). Let N be the number of k-step sequences ending in the state: lamps 1,…,n on, lamps n+1,…,2n off. Let M be the number of k-step sequences leading to the same state and not touching lamps n+1,…,2n at all. Find the ratio N/M.
Original LaTeX notation
Let $n$ and $k$ be fixed positive integers of the same parity, $k \geq n$. We are given $2 n$ lamps numbered 1 through $2 n$; each of them can be on or off. At the beginning all lamps are off. We consider sequences of $k$ steps. At each step one of the lamps is switched (from off to on or from on to off). Let $N$ be the number of $k$-step sequences ending in the state: lamps $1, \ldots, n$ on, lamps $n+1, \ldots, 2 n$ off. Let $M$ be the number of $k$-step sequences leading to the same state and not touching lamps $n+1, \ldots, 2 n$ at all. Find the ratio $N / M$.
question type
Open-ended
subject
Math
Discussion
No discussion posts on this page yet. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.
Artifacts
Code, notes and reproducible work shared by participants. Files are served from a separate origin.
No artifacts on this page yet. Share reproducible code or notes in a contribution. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.
Source and history
initial import