Community

Looking for a challenging geometry text? Preparing for MATHCOUNTS or the AMC exams? Check out Art of Problem Solving's Introduction to Geometry by Richard Rusczyk.
Login Register Memberlist Search AoPS Blogs Contests Galleries Forum Index
The time now is Tue Feb 09, 2010 9:39 am
All times are UTC - 8
View posts since last visit
View unanswered posts
47p^2+1 is a Perfect Square
Moderators: Altheman
Post new topic   Reply to topic View previous topicView next topic
12 Posts • Page 1 of 1
Author Message
Altheman
Birch & Swinnerton Dyer
Birch & Swinnerton Dyer


Offline
Joined: 28 Jun 2005
Posts: 6145
Location: Illinois
United States

To rate posts you must be logged in
#1
47p^2+1 is a Perfect Square
Test B: Problem #2

Find all primes p such that 47p^2+1 is a perfect square.
_________________
-Alex
Altheman's Problem Column

PostPosted: Mon Jun 09, 2008 11:40 am  Back to top 
  ProfilePMAIMBlog
FantasyLover
Navier-Stokes Equations
Navier-Stokes Equations


Offline
Joined: 26 Mar 2008
Posts: 1918
Location: AAST

To rate posts you must be logged in
#2
lets say that 47p^2 + 1 = a^2.

then 47p^2 = a^2 - 1 = (a + 1)(a - 1)

since 47 is a prime number, 47 is either a+1 or a-1, and p^2 should be another.

if 47=a-1,a=48, p^2 = a + 1 = 49. so p=7.

answer : 7
_________________
AAST 2013

PostPosted: Mon Jun 09, 2008 11:44 am  Back to top 
  ProfilePMBlog
Altheman
Birch & Swinnerton Dyer
Birch & Swinnerton Dyer


Offline
Joined: 28 Jun 2005
Posts: 6145
Location: Illinois
United States

To rate posts you must be logged in
#3
FantasyLover wrote:
since 47 is a prime number, 47 is either a+1 or a-1, and p^2 should be another.


Your solution doesn't address all cases. The problem is here.
_________________
-Alex
Altheman's Problem Column

PostPosted: Mon Jun 09, 2008 12:03 pm  Back to top 
  ProfilePMAIMBlog
resurrection
Navier-Stokes Equations
Navier-Stokes Equations

Offline
Joined: 15 Mar 2007
Posts: 1230

To rate posts you must be logged in
#4
P could be a multiple of 47...

PostPosted: Mon Jun 09, 2008 1:10 pm  Back to top 
  ProfilePMBlog
Carbon57
Riemann Hypothesis
Riemann Hypothesis


Offline
Joined: 28 Sep 2006
Posts: 468
Location: San Jose, CA
ChinaUnited States

To rate posts you must be logged in
#5
Continuing on FantasyLover's solution...

If you let a+1=47p and a-1=p, you get non-integer solutions, so that's not possible.

If you let a+1=p and a-1=47p, you also get non-integer solutions.

If you let a+1=47p^2 and a-1=1, you get non-integer solutions.

If you let a+1=1 and a-1=47p^2, you get non-integer solutions.

These are all of the possibilities since 47 is prime...so 7 is the only possible answer.

PostPosted: Mon Jun 09, 2008 3:47 pm  Back to top 
  ProfilePM
t0rajir0u
Birch & Swinnerton Dyer
Birch & Swinnerton Dyer


Online
Joined: 19 Nov 2005
Posts: 12204
Location: Cambridge, MA
ChinaUnited States

To rate posts you must be logged in
#6
Note that \gcd(a + 1, a - 1) | 2. Verify that p = 2 doesn't work, so \gcd(a + 1, a - 1) = 1 and we only have two cases to check instead of four.
_________________
Annoying Precision (http://qchu.wordpress.com/)

PostPosted: Mon Jun 09, 2008 4:22 pm  Back to top 
  ProfilePMWWWBlog
Altheman
Birch & Swinnerton Dyer
Birch & Swinnerton Dyer


Offline
Joined: 28 Jun 2005
Posts: 6145
Location: Illinois
United States

To rate posts you must be logged in
#7
Right. It is clear that 47 divides one of those factors individually, but you have to allocate the other factors as well.

a-1\le a+1\le 2(a-1) and that eliminates all of the other cases.
_________________
-Alex
Altheman's Problem Column

PostPosted: Tue Jun 10, 2008 3:58 pm  Back to top 
  ProfilePMAIMBlog
FantasyLover
Navier-Stokes Equations
Navier-Stokes Equations


Offline
Joined: 26 Mar 2008
Posts: 1918
Location: AAST

To rate posts you must be logged in
#8
mathcrazed wrote:
P could be a multiple of 47...


if p=47k, k<2 because p is a prime number.

but if k=1, 47*47+1 should be a perfect square, which is not true.
_________________
AAST 2013

PostPosted: Tue Jun 10, 2008 3:59 pm  Back to top 
  ProfilePMBlog
itiselizabeth
P versus NP
P versus NP


Offline
Joined: 23 Jul 2009
Posts: 33
United Kingdom

To rate posts you must be logged in
#9
Re: 47p^2+1 is a Perfect Square
Test B: Problem #2

Altheman wrote:
Find all primes p such that 47p^2 + 1 is a perfect square.

The equation can be written n^2 - 47p^2 = 1 which is Pell’s equation. By calculating the convergents in the continued-fraction expansion of \sqrt {47} we find the fundamental solution to be n = 48,\,p = 7. All other solutions to the Pell equation will be of the form n = a,\,p = b where
a + b\sqrt {47}\ = \ \left(48 + 7\sqrt {47}\right)^k
for some integer k. However it is clear that b will be a multiple of 7 and so cannot be prime. Hence the only prime solution is p = 7.
_________________
 

PostPosted: Sat Jul 25, 2009 4:03 am  Back to top 
  ProfilePMWWW
1=2
Birch & Swinnerton Dyer
Birch & Swinnerton Dyer


Offline
Joined: 06 Jan 2006
Posts: 5916
Location: One Brownie Point!
United States

To rate posts you must be logged in
#10
Re: 47p^2+1 is a Perfect Square
Test B: Problem #2

itiselizabeth wrote:
By calculating the convergents in the continued-fraction expansion of \sqrt {47} we find the fundamental solution to be n = 48,\,p = 7.


How do you calculate the convergents in a continued-fraction expansion of the square root of a positive non-square integer?
_________________
MC Chapter happened on 1/30. Me and my friends have been coaching the people that were in the top 20 since November.

PostPosted: Sat Jul 25, 2009 5:19 am  Back to top 
  ProfilePMWWWBlogAlbum
itiselizabeth
P versus NP
P versus NP


Offline
Joined: 23 Jul 2009
Posts: 33
United Kingdom

To rate posts you must be logged in
#11
    \sqrt {47}\ = \ 6 + \cfrac1{1 + \cfrac1{5 + \cfrac1{1 + \cfrac1{12 + \cdots}}}}

Set q_0 = 6,\ q_1 = 1,\ q_2 = 5,\ q_3 = 1,\ q_4 = 12,\ \ldots.

The convergents are terms in the sequence \left\langle\frac {a_i}{b_i}\right\rangle_{i\, = \,0}^\infty where the a_i and b_i are calculated as follows.

    a_0\ = \ q_0\ = \ 6
    a_1\ = \ q_1a_0 + 1\ = \ 7
    a_2\ = \ q_2a_1 + a_0\ = \ 41
    a_3\ = \ q_3a_2 + a_1\ = \ 48

      \vdots

    a_{i + 2}\ = \ q_{i + 2}a_{i + 1} + a_i


    b_0\ = \ 1
    b_1\ = \ q_1\ = \ 1
    b_2\ = \ q_2b_1 + b_0\ = \ 6
    b_3\ = \ q_3b_2 + b_1\ = \ 7

      \vdots

    b_{i + 2}\ = \ q_{i + 2}b_{i + 1} + b_i

Now you just have to try a_i^2 - 47b_i^2 until you find a pair for which the expression equals 1; these will be the fundamental solution. But in this particular problem, you know that b_i has to be prime, so you know you can pick b_3=7 right away. Very Happy

This is a technique I only learned recently so I may not be terribly good at it yet. Wink
_________________
 

PostPosted: Sat Jul 25, 2009 7:30 am  Back to top 
  ProfilePMWWW
t0rajir0u
Birch & Swinnerton Dyer
Birch & Swinnerton Dyer


Online
Joined: 19 Nov 2005
Posts: 12204
Location: Cambridge, MA
ChinaUnited States

To rate posts you must be logged in
#12
The algorithm is given here. There is a very elegant way to organize the work in a table that makes the computation extremely fast, but it's a bit hard to describe in words.
_________________
Annoying Precision (http://qchu.wordpress.com/)

PostPosted: Sat Jul 25, 2009 9:30 am  Back to top 
  ProfilePMWWWBlog
Display posts from previous:   Sort by:   
12 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