olymmath

ISL 1996 A9

Let the sequence a(n),n=1,2,3,…a(n), n = 1,2,3, \ldots be generated as follows with a(1)=0,a(1) = 0, and for n>1:n > 1:

a(n)=a(⌊n2⌋)+(−1)n(n+1)2.a(n) = a\left( \left \lfloor \frac{n}{2} \right \rfloor \right) + (-1)^{\frac{n(n+1)}{2}}.

1.) Determine the maximum and minimum value of a(n)a(n) over n≤1996n \leq 1996 and find all n≤1996n \leq 1996 for which these extreme values are attained.

2.) How many terms a(n),n≤1996,a(n), n \leq 1996, are equal to 0?

Dataset text AI-MO AoPS. Quoted with source.

Solutions

No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

Add a solution

Similar problems

These problems have the most words in common with this statement.

Locator isl/1996/a9 · Tag FG8VZHKSHM · Edit this page on GitHub · Keys: j next, k previous