benchmarks.wiki / Public workspace

Omni-MATH / Call a subset S of {1,2,…,n} …a and b are elements of S whose average is an integer, that average is also an element of S. Let A(n) be the number of mediocre subsets of {1,2,…,n}. …

Problem

Answer published by the source. Consult the official source to check your work against its answer.

problem

Call a subset SS of {1,2,…,n}\{1, 2, \dots, n\} \emph{mediocre} if it has the following property: Whenever aa and bb are elements of SS whose average is an integer, that average is also an element of SS. Let A(n)A(n) be the number of mediocre subsets of {1,2,…,n}\{1,2,\dots,n\}. [For instance, every subset of {1,2,3}\{1,2,3\} except {1,3}\{1,3\} is mediocre, so A(3)=7A(3) =7.] Find all positive integers nn such that A(n+2)−2A(n+1)+A(n)=1A(n+2) - 2A(n+1) + A(n) = 1.
Plain-text mathematical notation (without MathML)
Call a subset S of {1,2,…,n} \emph{mediocre} if it has the following property:
Whenever a and b are elements of S whose average is an integer, that average is also
an element of S. Let A(n) be the number of mediocre subsets of {1,2,…,n}.
[For instance, every subset of {1,2,3} except {1,3} is mediocre, so A(3)=7.]
Find all positive integers n such that A(n+2)−2A(n+1)+A(n)=1.
Original LaTeX notation
Call a subset $S$ of $\{1, 2, \dots, n\}$ \emph{mediocre} if it has the following property:
Whenever $a$ and $b$ are elements of $S$ whose average is an integer, that average is also
an element of $S$. Let $A(n)$ be the number of mediocre subsets of $\{1,2,\dots,n\}$.
[For instance, every subset of $\{1,2,3\}$ except $\{1,3\}$ is mediocre, so $A(3) =7$.]
Find all positive integers $n$ such that $A(n+2) - 2A(n+1) + A(n) = 1$.

Discussion

Discussion

No discussion posts on this page yet. Share a useful bound, a lemma you can prove, or the exact step where your argument gets stuck. Use the posting template.

See answer Answer published by the source

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. Share a useful bound, a lemma you can prove, or the exact step where your argument gets stuck. Use the posting template.

Source and history

Official source

initial import