Perfect squares in base 9?

Find all perfect squares which have a base 9 representation consisting solely of 1's. Give proof.

#NumberTheory

Note by Sharky Kesa
5 years, 2 months ago

No vote yet
1 vote

  Easy Math Editor

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

  • Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
  • Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
  • Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
  • Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold

- bulleted
- list

  • bulleted
  • list

1. numbered
2. list

  1. numbered
  2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1

paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
    # 4 spaces, and now they show
    # up as a code block.

    print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.
2 \times 3 2×3 2 \times 3
2^{34} 234 2^{34}
a_{i-1} ai1 a_{i-1}
\frac{2}{3} 23 \frac{2}{3}
\sqrt{2} 2 \sqrt{2}
\sum_{i=1}^3 i=13 \sum_{i=1}^3
\sin \theta sinθ \sin \theta
\boxed{123} 123 \boxed{123}

Comments

Let the perfect squares we're looking for have solely nn 1's in their base 9 representation. Then, our work amounts to solving the following diophantine equation:

k=0n19k=x2    9n191=x2    9n1=8x2()\sum_{k=0}^{n-1} 9^k = x^2\implies\frac{9^n-1}{9-1}=x^2\implies 9^n-1=8x^2\qquad\qquad (\ast)

We note the trivial solutions n=0,1n=0,1 corresponding to x=0,1x=0,1 and show that there are no integer solutions for n,xn,x when n>1n\gt 1.

When n>1n\gt 1, WLOG, we can assume that xx is positive. Now,

9n1=8x2    9n9=8x28    8×9n1=8(x21)    9n1=x21    (x1)(x+1)=32n2\begin{aligned}9^n-1=8x^2&\implies 9^n-9=8x^2-8\\&\implies 8\times 9^{n-1}=8(x^2-1)\\&\implies 9^{n-1}=x^2-1\implies (x-1)(x+1)=3^{2n-2}\end{aligned}

Now, note that only one of x1x-1 and x+1x+1 is divisible by 33 since otherwise 33 divides their difference (x+1)(x1)=2(x+1)-(x-1)=2 which is obviously false. Hence, one of the two terms must equal to 32n23^{2n-2} while the latter term equals to 11. So, we have either x=32n2+1=0x=3^{2n-2}+1=0 or x=32n21=2x=3^{2n-2}-1=2

The first case gives 32n2=13^{2n-2}=-1 which obviously doesn't have any integer solutions for nn and the second case gives 32n2=3    2n2=1    n=3/23^{2n-2}=3\implies 2n-2=1\implies n=3/2 which is not an integer.

Hence, when n>1n\gt 1, there are no integer solutions to equation ()(\ast).

Along with the trivial solutions noted at the beginning, we conclude that the only solutions are n=0,1n=0,1 with the perfect squares being 0,10,1 respectively.

Prasun Biswas - 4 years, 9 months ago

Log in to reply

Technically, 0 in base 9 is 0, which has a '0' digit but no '1' digit in base 9, so only 1 satisfies.

Sharky Kesa - 4 years, 9 months ago
×

Problem Loading...

Note Loading...

Set Loading...