Basic Maths

Show that the number 111...11 with 3^n digits is divisible by 3^n.

#NumberTheory #MathProblem #Math

Note by Biswaroop Roy
7 years, 6 months ago

No vote yet
4 votes

  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

We prove this by induction:

Base case:

When n = 0, it is obviously true that 1 is divisible by 1.

When n = 1:

The number is 111 which is divisible by 3.

Inductive Case: Suppose the number 1111.....111 (which has 3^n digits) is divisible by 3^n.

For 3^(n+1) digits of 1, The sum of digits for this case is always a power of 3. Hence, the assertion is true.

Numerical Proof: 3^(n+1) divides 111....111 (which has 3^(n+1) digits)

(3^n)(3) divides 111....111 (which has (3^n)(3) = 3^n + 3^n + 3^n digits)

Remembering the case for n: the number 1111.....111 (which has 3^n digits) is divisible by 3^n and the base case, the proof is done.

John Ashley Capellan - 7 years, 6 months ago

Log in to reply

Just to clarify your induction, as it is a bit unclear, 1111(3n+1111\cdots 1(3^{n+1} digits )=1111(3n)=111\cdots 1(3^n digits )×(102n+10n+1))\times (10^{2n}+10^n+1). Since (102n+10n+1)(10^{2n}+10^n+1) is divisible by 3, by the inductive hypothesis we finish the induction.

Yong See Foo - 7 years, 6 months ago

Log in to reply

Thank you very much,both of you. I should have solved myself. Thanks again:)

Biswaroop Roy - 7 years, 6 months ago

Thanks for clarifying! I also didn't notice that...

John Ashley Capellan - 7 years, 6 months ago

Log in to reply

@John Ashley Capellan I just solved this same problem using algebra.Would you like to try?

Biswaroop Roy - 7 years, 6 months ago

Log in to reply

@Biswaroop Roy Sure thing..

John Ashley Capellan - 7 years, 6 months ago

Log in to reply

@John Ashley Capellan Just a hint,you might find geometric progression an useful tool:)

Biswaroop Roy - 7 years, 6 months ago

Nicely expressed. This also shows that 3n3^n is the largest power of 3 that divides 1111111\ldots 1.

As a side note, another way of stating the question is that 3n+2103n1 3^{n+2} \mid 10^{3^n} - 1 .

Calvin Lin Staff - 7 years, 6 months ago

Log in to reply

@Calvin Lin Yeah that's true. Or even better as you mentioned, v3(103n1)=n+2v_3(10^{3^n}-1)=n+2 or 3n+2103n13^{n+2}||10^{3^n}-1.

Yong See Foo - 7 years, 6 months ago
×

Problem Loading...

Note Loading...

Set Loading...