ISL 2023 C2
Determine the maximal length of a sequence of positive integers satisfying both the following properties: - every term in the sequence is less than or equal to , and - there does not exist a consecutive subsequence (where ) with a choice of signs for which (Czech Republic)
Dataset text NuminaMath olympiads. Quoted with source.
Official text: IMO 2023 Shortlist booklet, page 7.
Solutions
Official solution Solution 1 by the IMO Problem Selection Committee
The terms of the source let olymmath link to this solution but not copy it. Read the solution (IMO official site).