Show that ## 9\mid R_{n} ## if and only if ## 9\mid n ##

  • Thread starter Math100
  • Start date
In summary, we can see that if ## 9\mid R_{n} ##, then ## 9\mid n ##, and vice versa. This is because a repunit ## R_{n} ## can be represented as a sum of ones, where the number of ones is equal to ## n ##. Since the sum of digits in ## R_{n} ## is divisible by ## 9 ##, this means that ## 9 ## must also divide ## n ##. Thus, we have shown that ## 9\mid R_{n} ## if and only if ## 9\mid n ##.
  • #1
Math100
802
221
Homework Statement
Given a repunit ## R_{n} ##, show that ## 9\mid R_{n} ## if and only if ## 9\mid n ##.
Relevant Equations
None.
Proof:

Suppose ## 9\mid R_{n} ##, given a repunit ## R_{n} ##.
Then ## R_{n}=111\dotsb 1 ##.
Observe that ## 9\mid R_{n}\implies 9\mid (1+1+1+\dotsb +1) ##.
Thus ## 9\mid n ##.
Conversely, suppose ## 9\mid n ##.
Then ## R_{n}=1+1+1+\dotsb +1=n ##, where ## n ## is the sum of digits in ## R_{n} ##.
Since the sum of digits in ## R_{n} ## is divisible by ## 9 ##, it follows that ## 9\mid R_{n} ##.
Therefore, ## 9\mid R_{n} ## if and only if ## 9\mid n ##.
 
Physics news on Phys.org
  • #2
Almost.

Math100 said:
Homework Statement:: Given a repunit ## R_{n} ##, show that ## 9\mid R_{n} ## if and only if ## 9\mid n ##.
Relevant Equations:: None.

Proof:

Suppose ## 9\mid R_{n} ##, given a repunit ## R_{n} ##.
Then ## R_{n}=111\dotsb 1 ##.
Observe that ## 9\mid R_{n}\implies 9\mid (1+1+1+\dotsb +1) ##.
Thus ## 9\mid n ##.
Conversely, suppose ## 9\mid n ##.

Math100 said:
Then ## R_{n}=1+1+1+\dotsb +1=n ##, where ## n ## is the sum of digits in ## R_{n} ##.
Then ##1+1+1+\dotsb +1=n ##, where ## n ## is the sum of digits in ## R_{n} ##.
(It does not equal ##R_n## and it is not necessary.)
Math100 said:
Since the sum of digits in ## R_{n} ## is divisible by ## 9 ##, it follows that ## 9\mid R_{n} ##.
Therefore, ## 9\mid R_{n} ## if and only if ## 9\mid n ##.
 
  • Like
Likes Math100
  • #3
[tex]10^m=999..99+1 \equiv 1(\mod 9)[/tex]
[tex]R_n =\sum_{m=0}^{n-1}10^m \equiv n(\mod 9)[/tex]
 
Last edited:

FAQ: Show that ## 9\mid R_{n} ## if and only if ## 9\mid n ##

What does it mean for a number to be divisible by 9?

A number is divisible by 9 if it can be evenly divided by 9 without leaving a remainder.

How do you prove that 9 divides a given number?

To prove that 9 divides a given number, you can use the divisibility rule for 9 which states that if the sum of the digits in the number is divisible by 9, then the number itself is divisible by 9.

How is this related to the concept of congruence?

This concept is related to congruence because if two numbers have the same remainder when divided by 9, they are considered congruent mod 9. In other words, they are equivalent in terms of their divisibility by 9.

Why is it important to prove that 9 divides a number?

Proving that 9 divides a number is important in mathematics as it helps to understand the properties of numbers and their relationships. It also allows for simplification of calculations and can be used in various mathematical proofs and applications.

Can you provide an example of a number that is divisible by 9?

Yes, for example, the number 81 is divisible by 9 because the sum of its digits (8 + 1 = 9) is divisible by 9.

Similar threads

Replies
6
Views
2K
Replies
7
Views
2K
Replies
3
Views
2K
Replies
1
Views
1K
Replies
5
Views
2K
Replies
2
Views
1K
Replies
10
Views
1K
Back
Top