olymmath

BALTIC-WAY 2015 Problem 20

  • Answer

For any integer n≥2n \geq 2, we define AnA_{n} to be the number of positive integers mm with the following property: the distance from nn to the nearest non-negative multiple of mm is equal to the distance from n3n^{3} to the nearest non-negative multiple of mm. Find all integers n≥2n \geq 2 for which AnA_{n} is odd.

(Note: The distance between two integers aa and bb is defined as ∣a−b∣|a-b|.)

Dataset text NuminaMath olympiads. Quoted with source.

Show the answer

n \text{ is an even square}

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

Locator baltic-way/2015/p20 · Tag M7F26178TR · Edit this page on GitHub · Keys: j next, k previous