Number theory. numbers of the form 111 111.

Click For Summary

Homework Help Overview

The discussion revolves around proving a property of numbers of the form \( m = 111...1 \) with \( n \) digits, specifically that if \( m \) is prime, then \( n \) must also be prime. The subject area is number theory, focusing on prime numbers and their properties.

Discussion Character

  • Conceptual clarification, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants explore the implications of \( m \) being prime and consider the relationship between \( n \) and its primality. There are attempts to use Fermat's theorem and factorization approaches. Questions arise about the validity of assumptions regarding \( n \) being composite and the implications of that on \( m \).

Discussion Status

The discussion is ongoing, with participants providing suggestions for proof strategies, including proof by contradiction. Some participants express uncertainty about critical steps in their reasoning, indicating a collaborative effort to clarify the problem.

Contextual Notes

There is a focus on the definitions and properties of prime numbers, as well as the mathematical tools available for the proof, such as congruences and factorization. Participants are navigating the complexities of the problem without reaching a consensus.

cap.r
Messages
64
Reaction score
0

Homework Statement


consider the number m=111...1 with n digits, all ones. Prove that if m is Prime, then n is prime

Homework Equations


def of congruence. fermat's and euler's theorem. can also use σ(n): the sum of all the positive divisors of n, d(n): the number of positive divisors of n, φ(n): Euler's totient function φ, counting the positive integers coprime to (but not bigger than) n


The Attempt at a Solution


I managed to prove that every odd prime except 5 divides on of these numbers.

3|111 so let's look at P>5 which do not divide 10.
now all such numbers can be represented by [tex]\frac{10^(^P^-^1^)-1}{9}[/tex] using fermat's theorem I can say this is congruent to 0(mod P). so now every prime P that i plug into this will give me a one of these numbers. obviously it doesn't work with non primes since we used fermat's little theorem.

so now i don't know what to do exactly... if m is prime then i know it's not one of these numbers and the sum of it's digits is odd. but i am stuck.
 
Physics news on Phys.org
Your attempted solution ("I managed to prove that every odd prime except 5 divides on of these numbers." and so on) doesn't really address what you need to prove. Try a proof by contradiction. Observe that

[tex]m = \frac{10^n - 1}{9}[/tex]

The hypothesis is that m is prime. Now assume that n is composite and derive a contradiction.

Let me know if this suggestion isn't clear, or if you'd like more help.

Petek
 
I am afraid I don't see it... here is what I have the critical step is missing.

let [tex]m = \frac{10^n - 1}{9}[/tex] assume m is a prime with n digits.
now i assume n is not prime so n = P1k1*...*Prkr so now m=((10^P1k1)^..^Prkr-1)/9

since m is prime...

sorry i couldn't get it to show up right in latex.
 
Look at it this way. If n is not prime, then there is a k that divides n. Then doesn't 11...1 with k ones divide m? You can write out the factorization.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
6K