Community

Want to learn how to tackle those tough AMC/AIME/Olympiad algebra problems? Check out Art of Problem Solving's Intermediate Algebra by Richard Rusczyk and Mathew Crawford. Over 1600 problems!
Login Register Memberlist Search AoPS Blogs Contests Galleries Forum Index
The time now is Mon Dec 07, 2009 5:20 am
All times are UTC - 8
View posts since last visit
View unanswered posts
Prime number goes into 1s
Moderators: Pre-Olympiad Moderators
Post new topic   Reply to topic View previous topicView next topic
8 Posts • Page 1 of 1
Author Message
dgreenb801
Navier-Stokes Equations
Navier-Stokes Equations

Offline
Joined: 08 Sep 2007
Posts: 1239
Location: Florida
United States

To rate posts you must be logged in
#1
Prime number goes into 1s

Show that for any prime p>5, it goes into the number consisting only of p-1 1s.
For example,
7|111111
11|1111111111
13|111111111111
17|1111111111111111
etc.

PostPosted: Sun Nov 01, 2009 11:49 am  Back to top 
  ProfilePM
Kouichi Nakagawa
Navier-Stokes Equations
Navier-Stokes Equations


Offline
Joined: 16 Feb 2007
Posts: 1238
Location: Japan (日本)
Japan

To rate posts you must be logged in
#2
9|10^{p - 1} is trivial.
p|10^{p - 1} is true. Because Fermat's little theorem.
Thus 9p|10^{p - 1} \iff p|\underbrace{11\cdots11}_{p - 1}.
_________________
A member of Japan Fibonacci Association
Collection of problems by Kouichi Nakagawa

PostPosted: Sun Nov 01, 2009 1:13 pm  Back to top 
  ProfilePMWWWMSNBlog
JBL
Birch & Swinnerton Dyer
Birch & Swinnerton Dyer

Offline
Joined: 04 Jul 2003
Posts: 10799
Location: Brooklyn, NY or Cambridge, MA
United States

To rate posts you must be logged in
#3
You probably want to think those claims over some more Wink Rolling Eyes
_________________
Joel
Hi Deeps! <3

PostPosted: Sun Nov 01, 2009 1:45 pm  Back to top 
  ProfilePMWWW
veezbo
Poincare Conjecture
Poincare Conjecture

Offline
Joined: 11 Jan 2009
Posts: 216
Location: Ohio
IndiaUnited States

To rate posts you must be logged in
#4
BLAH. It took me way too long to solve this problem.

Solution


p-1 1's can be expressed numerically as:

10^{p-2} + 10^{p-3} + 10^{p-4} + \cdots + 10^1 + 1

Summing this as a geometric series yields:

\dfrac{10^{p-1} - 1}{10-1}

We need to show that:

\dfrac{10^{p-1} - 1}{10-1} \equiv x \pmod p and that x = 0.

Using FLT, we immediately know that 10^{p-1} \congr 1 \pmod p given that p is not 2 or 5 (factors of 10). This is a given, so we can continue.

10^{p-1} - 1 \equiv 9x \pmod p

0 \equiv 9x \pmod p

Because p is prime, it is not divisible by 9. Therefore, x = 0, and it is proved.


_________________
Goals for 2010: Primary Goal = MAKE USAMO (which is now more difficult)
Actually qualify for AIME Embarassed
AMC12: 132+ AIME: 8+

PostPosted: Sun Nov 01, 2009 4:18 pm  Back to top 
  ProfilePMYM
diophantient
Navier-Stokes Equations
Navier-Stokes Equations

Offline
Joined: 08 Mar 2007
Posts: 1023
IndiaUnited States

To rate posts you must be logged in
#5
JBL wrote:
You probably want to think those claims over some more Wink Rolling Eyes

What's wrong with those claims?
_________________
The ninja made a movement.

PostPosted: Tue Nov 03, 2009 4:55 pm  Back to top 
  ProfilePM
JBL
Birch & Swinnerton Dyer
Birch & Swinnerton Dyer

Offline
Joined: 04 Jul 2003
Posts: 10799
Location: Brooklyn, NY or Cambridge, MA
United States

To rate posts you must be logged in
#6
You don't have a problem with the claim that 9 divides a power of 10? Rolling Eyes
_________________
Joel
Hi Deeps! <3

PostPosted: Tue Nov 03, 2009 5:05 pm  Back to top 
  ProfilePMWWW
dgreenb801
Navier-Stokes Equations
Navier-Stokes Equations

Offline
Joined: 08 Sep 2007
Posts: 1239
Location: Florida
United States

To rate posts you must be logged in
#7
Of course, he meant 9p|10^{p - 1} - 1.

PostPosted: Tue Nov 03, 2009 6:40 pm  Back to top 
  ProfilePM
Kouichi Nakagawa
Navier-Stokes Equations
Navier-Stokes Equations


Offline
Joined: 16 Feb 2007
Posts: 1238
Location: Japan (日本)
Japan

To rate posts you must be logged in
#8
Sorry.
I missed words slightly.
As dgreenb801 says definitely; as follows.


9|10^{p - 1}\color{red}-1\color{black} is trivial.
p|10^{p - 1}\color{red}-1\color{black} is true. Because Fermat's little theorem.
Thus 9p|10^{p - 1}\color{red}-1\color{black} \iff p|\underbrace{11\cdots11}_{p - 1}.
_________________
A member of Japan Fibonacci Association
Collection of problems by Kouichi Nakagawa

PostPosted: Tue Nov 03, 2009 9:20 pm  Back to top 
  ProfilePMWWWMSNBlog
Display posts from previous:   Sort by:   
8 Posts • Page 1 of 1
Post new topic   Reply to topic View previous topicView next topic
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
You cannot post calendar events in this forum


© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us