Can a number that ends in 3 have a multiple consisting of only 1's?

  • Context: MHB 
  • Thread starter Thread starter I like Serena
  • Start date Start date
  • Tags Tags
    Multiple
Click For Summary
SUMMARY

A number that ends in 3 has a multiple consisting solely of 1's, as demonstrated through mathematical proofs involving modular arithmetic. Specifically, for any integer \( N \) ending in 3, the greatest common divisor \( \gcd(N, 10) = 1 \) ensures that \( 10^k - 1 \) is a multiple of \( N \), where \( k \) is the finite order of 10 modulo \( N \). This leads to the conclusion that a number \( M \), formed by \( \frac{10^k - 1}{9} \), is also a multiple of \( N \) under certain conditions, including when \( \gcd(N, 3) = 1 \).

PREREQUISITES
  • Understanding of modular arithmetic
  • Familiarity with the pigeonhole principle
  • Knowledge of greatest common divisor (GCD) concepts
  • Basic number theory, particularly properties of integers
NEXT STEPS
  • Study modular arithmetic and its applications in number theory
  • Explore the pigeonhole principle in combinatorial mathematics
  • Learn about the properties of GCD and its significance in number theory
  • Investigate the concept of finite order in modular systems
USEFUL FOR

Mathematicians, students of number theory, and anyone interested in modular arithmetic and its applications in proving properties of integers.

I like Serena
Science Advisor
Homework Helper
MHB
Messages
16,335
Reaction score
258
Given a number that ends in 3, prove that it has a multiple that consists of only 1's.

For instance 13 has the multiple 111111.
 
Mathematics news on Phys.org
Klaas van Aarsen said:
Given a number that ends in 3, prove that it has a multiple that consists of only 1's.

For instance 13 has the multiple 111111.
[sp]

Let $N$ be the number. As $\gcd(N,10)=1$, $10$ has finite order, say $k$, modulo $N$. This means that $10^k-1$ is a multiple of $N$; that number consists of $k$ digits $9$.

Let $M = \dfrac{10^k-1}{9}$ (a number consisting of $k$ digits $1$). We have $10^k-1 = 9M = aN$ for some integer $a$. If $\gcd(N,3)=1$, since $N\mid 9M$, we have $N\mid M$ and we are done.

If this is not the case, let $P$ be the number obtained by copying $M$ $9$ times; this number consists of $9k$ digits $1$. Note that $P = M(1+10^k+\cdots+10^{9k})$ is a multiple of $9M$. As $M$ is a multiple of $N/9$, $P$ is a multiple of $N$.

[/sp]
 
Klaas van Aarsen said:
Given a number that ends in 3, prove that it has a multiple that consists of only 1's.

For instance 13 has the multiple 111111.
[sp]Let $R_n$ be the number consisting of $n$ $1$s. If $n>m$ then $R_n - R_m$ consists of $n-m$ $1$s followed by $m$ $0$s. So $R_n - R_m = 10^mR_{n-m}$.

Suppose that $N$ is an integer ending in $3$, and consider the remainders when the numbers $R_1,\,R_2,\ldots,R_{N+1}$ are divided by $N$. There are only $N$ possible remainders mod $N$, so by the pigeonhole principle two of them must coincide, say $R_m \equiv R_n \pmod{N}$. So $10^mR_{n-m} \equiv 0 \pmod{N}$. But, as in castor28's solution, $10$ is invertible mod $N$, so it follows that $R_{n-m}\equiv0\pmod{N}$. In other words, $R_{n-m}$ is a multiple of $N$.[/sp]
 
Klaas van Aarsen said:
Given a number that ends in 3, prove that it has a multiple that consists of only 1's.

For instance 13 has the multiple 111111.

I shall prove a more general case why 3 , any number that does not have a factor 2 or 5 satisfies the criteria

Proof:

The number with 10 does not have a common factor and so 10 and the number say k are coprimes

Now let us consider $10^p$ mod n for p = 1 to k-1 if k is not a multiple of 3 and upto 9k-1

they shall have k-1 remainders none of them zero and one of them shall be 1

to prove that one of them has to be 1 let us assume that none of the is one.

now there are k-1 remainders and k-2 values (as zero and 1 are not there)

so they correspond to power $10^a$ and $10^b$ with same remainder and a > b

so $10^a - 10^b \equiv 0 \pmod k$
or $10^b(10^{a-b} -1) \equiv 0 \pmod k$
or $10^{a-b} -1 \equiv 0 \pmod k$

which is not true as there is a contradiction
so there is a value n so that such that $10^n -1 equiv 0 \pmod k$

if k is not multiple of 3

$10^n -1 \equiv 0 \pmod k => \frac{10^{n-1} -1}{9} \equiv 0 \pmod k$

if k is multiple of 3
$10^n -1 \equiv 0 \pmod {9k} => \frac{10^{n-1} -1}{9} \equiv 0 \pmod k$
 
All correct.
Thank you all, and nice to see different solutions to the same problem.
They cover the solutions that I am aware of.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 0 ·
Replies
0
Views
2K