Take a test Sign in 中文
← Exercise 897 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Digits (38)
Primes (31)
Fractions, Decimals, and the Floor Function (18)
Divisors, GCD, and LCM (36)
Divisibility (59)
Bases (15)
Modular Arithmetic (42)
Integer Equations (27)

Exercises and their solutions

Exercise 897
For a positive integer $n$ and nonzero digits $a$, $b$, and $c$, let $A_n$ be the $n$-digit integer each of whose digits is $a$, let $B_n$ be the $n$-digit integer each of whose digits is $b$, and let $C_n$ be the $2n$-digit integer each of whose digits is $c$. What is the greatest possible value of $a+b+c$ for which there are at least two values of $n$ such that $C_n-2B_n=A_n^2$?
← Back to Problem 897
Solution
  1. With $X=10^n$: $A_n=\frac{a(X-1)}9$, $B_n=\frac{b(X-1)}9$, $C_n=\frac{c(X^2-1)}9$. Dividing $C_n-2B_n=A_n^2$ by $\frac{X-1}9$ gives $c(X+1)-2b=\frac{a^2}9(X-1)$.
  2. This is linear in $X$, so if it holds for two values of $X$, the coefficients match: $c=\frac{a^2}9$ and $c-2b=-\frac{a^2}9$, i.e.\ $b=c$ and $a=3\sqrt c$.
  3. $c\in\{1,4,9\}$; the largest is $c=9$, $b=9$, $a=9$.
  4. So $a+b+c=\boxed{27}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year