Interesting fact


I have found that ,

aaan timesamodn\Large \underbrace{aaa\ldots }_{n \text{ times}} \equiv a \mod n

 n{ Primes}\forall \text{ n} \in \left \{ \text{ Primes} \right \} also aa belongs to 1 to 9 and also 0.

and n7n\geq7


BonusBonus forfor readerreader

Disprove this for n<7n <7


NoteNote

Also see Another Interesting fact

aaa...\overline {aaa...} is a single number.

#NumberTheory

Note by A Former Brilliant Member
5 years, 3 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

aaaaan timesa(modn)aan timesa=aaaan1 times00(modn)\underbrace{aaa\ldots aa}_{n \text{ times} } \equiv a \pmod n \\ \underbrace{aa \ldots }_{n \text{ times}}-a=\underbrace{aaa\ldots a}_{n-1\text{ times}}0 \equiv 0 \pmod n

Now we have to prove that,

aaaaan1 times0(modn),n Prime≥7a10n119(modn)\underbrace{aaa\ldots aa}_{n-1 \text{ times}}\equiv 0 \pmod n , \quad \forall n \in \text{ Prime≥7} \\ a\cdot \frac{10^{n-1}-1}{9} \pmod n

As nn is a prime number,

10ϕ(n)=10n11(modn)a10n119a119=0(modn)10^{\phi(n)}=10^{n-1}\equiv 1\pmod n \\ \therefore a\cdot \frac{10^{n-1}-1}{9} \equiv a\cdot \frac{1-1}{9}=0 \pmod n


aaaaan timesa(modn)a10n19(modn)\underbrace{aaa\ldots aa}_{n \text{ times} } \equiv a \pmod n \\ a\cdot \frac{10^n -1}{9}\pmod n

By Fermat's Little Theorem,

10n10(modn)a10n19a1019=a(modn)10^n \equiv 10 \pmod n \\ a\cdot \frac{10^n -1}{9}\equiv a\cdot \frac{10 -1}{9}= a \pmod n

• QED

Akshat Sharda - 5 years, 3 months ago

Log in to reply

Nice one @Akshat Sharda

A Former Brilliant Member - 5 years, 3 months ago

Can you prove the Bonus ?@Akshat Sharda

A Former Brilliant Member - 5 years, 3 months ago

I guess this is true for all primes except 3...To disprove this for 3....We see that aaa will always be divisible by 3 because for divisibility by 3 we need to check the sum of digits . The sum of the digits for the given number will be 3a which is divisible by 3..Hence the given number will always be congruent 0 mod 3...

Ankit Kumar Jain - 5 years, 2 months ago

@Otto Bretscher , I am still waiting for your reply

A Former Brilliant Member - 5 years, 2 months ago

Log in to reply

I'm afraid that this congruency does not hold in general. As a counterexample, consider a=10a=10 and n=11n=11.

Otto Bretscher - 5 years, 2 months ago

Log in to reply

Its true for all values of a such that a is between 1 and 9

Ankit Kumar Jain - 5 years, 2 months ago

a should not be a 2 digit number...

A Former Brilliant Member - 5 years, 2 months ago

Log in to reply

@A Former Brilliant Member You are saying aa is a natural number... so you need to change that in the statement. Essentially you are saying this is true for a=1a=1, we can then multiply with a=2..9a= 2..9. The case a=1a=1 is trivial as long as the prime is not 33.

Otto Bretscher - 5 years, 2 months ago

Log in to reply

@Otto Bretscher Thanks for pointing my mistake ! you may also take a look at Another Interesting fact , link is provided above...

A Former Brilliant Member - 5 years, 2 months ago
×

Problem Loading...

Note Loading...

Set Loading...