Home » Ask & Discuss » Mathematics. » Algebra « Back to Discussion



Algebra

Hari Shankar's Avatar
Forum Expert
Joined: 28 Feb 2007
Post: 2173
24 Feb 2008 10:16:19 IST
0 People liked this
5
554 View Post
Easy one
None

Find all n such that n!-1 is a perfect square


Share this article on:

Comments (5)

Nadeem's Avatar

Blazing goIITian

Joined: 25 Aug 2007
Posts: 521
24 Feb 2008 10:25:02 IST
2 people liked this

All squares are of the form 4k or 4k + 1.

So the only possible values are n=1 and n=2
Bipin Dubey's Avatar

Forum Expert
Joined: 23 Jan 2007
Posts: 7942
24 Feb 2008 10:44:07 IST
0 people liked this

Let x2 = n! - 1

x2 + 1 = n!

For n=0 : x=0 ..... 1st possible n

For n=1 : x=0 ...... 2nd possible n

For n>1 : n! is even and hence x must be odd.

Let x = 2a+1

x2 = 4a2 + 4a + 1 = 4a(a+1) + 1

a(a+1) is an even no. , let a(a+1) = 2k

so x2 = 8k + 1

x2 + 1 = n!

8k+2 = n!

2(4k+1) = n!

LHS contains only one power of 2 while for n=4,5,6.... RHS contains higher powers of 2, so n=4,5,6.... are ruled out.

Checking for n=2,3 they don't make n!-1 a perfect square.

so possible solutions are n = 1,2



Pranav Pant's Avatar

Blazing goIITian

Joined: 21 Feb 2008
Posts: 340
24 Feb 2008 10:57:25 IST
0 people liked this

n is perfect square if n=4x or n=4x+1 where x is a whole number.
So the only possible solutions are 1 & 2
Hari Shankar's Avatar

Forum Expert
Joined: 28 Feb 2007
Posts: 2173
24 Feb 2008 11:30:29 IST
0 people liked this

or you can use that any perfect square is of the form 3k or 3k+1. you get the same result.
soumik roy's Avatar

New kid on the Block

Joined: 11 Feb 2008
Posts: 20
26 Feb 2008 13:22:47 IST
1 people liked this

n=1,2



Quick Reply


Reply

Some HTML allowed.
Keep your comments above the belt or risk having them deleted.
Signup for a avatar to have your pictures show up by your comment
If Members see a thread that violates the Posting Rules, bring it to the attention of the Moderator Team
Free Sign Up!

Preparing for IIT-JEE ?

Arihant Revision Package for IIT JEE - Books, Practice Tests + Rank Predictor


@ INR 1,995/-

For Quick Info

Name

Mobile No.

Find Posts by Topics

Physics.

Topics

Mathematics.

Chemistry.

Biology

Parents

Board

Fun Zone

Sponsored Ads