olymmath

HMMT 2002 U37

  • Guts
  • Answer

Call a positive integer "mild" if its base-3 representation never contains the digit 2 . How many values of n(1≤n≤1000)n(1 \leq n \leq 1000) have the property that nn and n2n^{2} are both mild?

Dataset text NuminaMath olympiads. Quoted with source.

Show the answer

7

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 hmmt/2002/u37 · Tag N97H26ZHHG · Edit this page on GitHub · Keys: j next, k previous