New Reply

Proving something cant be written as a square

 
Share Thread
Jun11-12, 04:49 AM   #18
 

Proving something cant be written as a square


Quote by Millennial View Post
Yes, I think I made a mistake there. I used another logic this time and came up with a contradiction. I won't post it here, I will tell you what kind of a contradiction it is. Try to obtain it yourself.

Contradiction: Let n be the number which gives the expression you gave when squared. Then, n can't be divided by p. However, either n-4 and n+1, or n-2 and n-1 are divisable by p. From here, it is easy to see that only the first case can be valid where p is 5. However, with some effort you can show that a perfect square can be written as 5x+1 if and only if the number to be squared is in the form 5y+1. Since this can't hold with your expression (because if it did, n+1 would not be divisable by 5), we achieve a contradiction.
Sir I tried it day and night sir. I would be extremely happy if you can post it here.
Jun11-12, 04:49 AM   #19
 
I used modular arithmetic this time, along with reductio ad absurdum.

Here is the first thing I did. I used the properties of the expression you gave as follows:

[tex]n^2=p^{m+a}-p^m+3p^a+1[/tex]
[tex]n^2-1=(n-1)(n+1)=p^{m+a}-p^m+3p^a=p^a(p^m-p^{m-a}+3)[/tex]

From here, you see either n-1, n+1, or both are divisable by p (since a is nonzero.) If both were divisable, it would imply p=2, which you stated can't be true; since p is an odd prime. I hope you can carry the proof on.
Jun11-12, 04:51 AM   #20
 
Quote by Millennial View Post
I used modular arithmetic this time, along with reductio ad absurdum.
Yes sir, I do know that you might have used modular arithmetic when you deal with divisibility. I too tried a lot reducing it. But I found out that if n mod 4 = 2 or 3 then n is not a perfect square. But I am unable to prove further.

I would be happy if you can elaborate and send me the proof.
Jun11-12, 05:05 AM   #21
 
Quote by Millennial View Post
I used modular arithmetic this time, along with reductio ad absurdum.

Here is the first thing I did. I used the properties of the expression you gave as follows:

[tex]n^2=p^{m+a}-p^m+3p^a+1[/tex]
[tex]n^2-1=(n-1)(n+1)=p^{m+a}-p^m+3p^a=p^a(p^m-p^{m-a}+3)[/tex]

From here, you see either n-1, n+1, or both are divisable by p (since a is nonzero.) If both were divisable, it would imply p=2, which you stated can't be true; since p is an odd prime. I hope you can carry the proof on.
Yes sir, indeed a nice argument and nice proof this time. But how about proving for (n+2)^2 ? . Shall I need to use the same logic master ?
Jun11-12, 05:09 AM   #22
 
You don't need to prove it for n+2.
Jun11-12, 05:13 AM   #23
 
Quote by Millennial View Post
I used modular arithmetic this time, along with reductio ad absurdum.

Here is the first thing I did. I used the properties of the expression you gave as follows:

[tex]n^2=p^{m+a}-p^m+3p^a+1[/tex]
[tex]n^2-1=(n-1)(n+1)=p^{m+a}-p^m+3p^a=p^a(p^m-p^{m-a}+3)[/tex]

From here, you see either n-1, n+1, or both are divisable by p (since a is nonzero.) If both were divisable, it would imply p=2, which you stated can't be true; since p is an odd prime. I hope you can carry the proof on.
Sorry sir, a small doubt again. you said "you see either n-1, n+1, or both are divisable by p, If both were divisable, it would imply p=2". But if both are not-divisible at the same time , I mean if either n-1 or n+1 is divisible then what is the case?
Jun11-12, 05:15 AM   #24
 
That is the part which you should answer.
Jun11-12, 05:18 AM   #25
 
Quote by Millennial View Post
That is the part which you should answer.
Sir, I would be really happy if you can give some clue. I am not trained in modular arithmetic. I am not asking for complete proof . But only hints in that direction.
Jun11-12, 06:07 AM   #26
 
Quote by S.Iyengar View Post
Sir, my proof has turned to be not correct. Can you give some hints in proving that ?
There "a" is non-zero sir
Hi, is it me or the original statement has changed ?
I remember a and m to be non negative, and I don't remember this m=2n+a for some integer n
So anyway, when I said a=0 disproves it, I was not talking about the proof given later, it wasn't yet here anyway, I was just pointing at the fact that you were trying to prove something which is not true as stated
Do you have any context for this question ? are you being stuck in the middle of a 'bigger' proof that would rely on this to be validated ? or is this the real exercise ? can you state it exactly as it comes ?
If it is an exercise, in which context does it come ? you are often asked to apply some recently learnt theorem or rule or lemma.. that would help everyone I think.
Meanwhile, I didn't look closely at the other proof you say turned out to be wrong or incomplete, but I saw among comments that there was something about odd/even numbers, so one thing is certain, for this expression to be a square of some integer, this integer has to be even.

Cheers...
Jun11-12, 11:32 AM   #27
 
Quote by Millennial View Post
I used modular arithmetic this time, along with reductio ad absurdum.

Here is the first thing I did. I used the properties of the expression you gave as follows:

[tex]n^2=p^{m+a}-p^m+3p^a+1[/tex]
[tex]n^2-1=(n-1)(n+1)=p^{m+a}-p^m+3p^a=p^a(p^m-p^{m-a}+3)[/tex]

From here, you see either n-1, n+1, or both are divisable by p (since a is nonzero.) If both were divisable, it would imply p=2, which you stated can't be true; since p is an odd prime. I hope you can carry the proof on.
There is another potential error here sir. p doesn't divide both the things simultaneously. It must divide the product. So assumed that n is even, as per your previous arguments ( even square would give rise to even square ) so n+1 and n-1 would be odd then. So p will be never 2 here .
Jun11-12, 12:11 PM   #28
 
Hurray , I got it sir. Perfectly this time I have got it.. I know the complete proof for all the things now. I completed the whole proof. It does involves the even and odd manipulations. But its very easy and not complex.

I just used to show that $P^a$ doesnt divide an even number in both (n+1) and (n-1) case. It turned out to be right perfectly from some series of arguments.
Jun12-12, 02:28 PM   #29
 
Quote by Millennial View Post
That is the part which you should answer.
Sir, I have tried the following proof. Please verify whether it is right or wrong. I used t for m and [itex]\phi[/itex] for a for the sake of brevity.


So let us show that this fails in the case of [itex]n^2[/itex]. Let us start with the equation [itex] p^{t+\phi}-p^{t}+3p^{\phi}+1[/itex]. If that is a square it would be equal to some n^2 for some even [itex]n[/itex]. [itex] p^{t+\phi}-p^{t}+3p^{\phi}+1=n^2[/itex]. We prove that it will not happen based upon two cases. Let us simplify it further. [itex]p^{\phi}(p^t-p^{t-\phi}+3)= n^2-1[/itex]
\begin{equation}
p^{\phi}(p^t-p^{t-\phi}+3) = (n+1)(n-1).
\end{equation}

From the above equation its evident that [itex]p^{\phi}[/itex] may divide either [itex](n+1)[/itex] or [itex](n-1)[/itex]. So there are two cases possible.
\subsubsection{ Dividing n-1 }

As we said that [itex]p^{\phi}|(n-1) [/itex] . From here the proof turns out to be interesting. We know that [itex]n[/itex] is even, hence [itex]n-1[/itex] would be odd. So if [itex]p^{\phi}[/itex] divides [itex](n-1)[/itex] in [itex](n-1)(n+1)[/itex] it must give rise to some new term of the form [itex]d.(n+1)[/itex] where [itex]d[/itex] is odd ( Since, odd number divided by odd number would give rise to odd number ). So that [itex]d.(n+1) = (p^t-p^{t-\phi}+3) [/itex] (since from (2)). So let us prove that its a contradiction.
[itex]d.(n+1) = (p^t-p^{t-\phi}+3)[/itex]
[itex]d.(n+1) = p^t(1-p^{-\phi})+3[/itex]
[itex] d.(n+1)-3= p^t(1-p^{-\phi}) [/itex]---(3)

So here its evident that [itex]p^t | d.(n+1)-3 [/itex] . So the equation (3) can be written as
[itex]M.(d.(n+1)-3)=(1-p^{-\phi})[/itex]. Where it divides [itex]M[/itex] times ( [itex]M[/itex] can be even [itex]1[/itex] in which the same equation is obtained ).
So its clearly evident that L.H.S is an integer. So the R.H.S is

[itex] \frac{p^{\phi}-1}{p^{\phi}}[/itex]---(4)

So its evident that a prime number minus one is an even number. Prime numbers are nothing but in some sense odd numbers. So odd number minus one would be an even number. So the numerator in the (4) is a even number and denominator is the odd number. So it would never turn to an integer. Which is a contradiction.
Jun12-12, 02:31 PM   #30
 
Quote by S.Iyengar View Post
Sir, I have tried the following proof. Please verify whether it is right or wrong. I used t for m and [itex]\phi[/itex] for a for the sake of brevity.


So let us show that this fails in the case of [itex]n^2[/itex]. Let us start with the equation [itex] p^{t+\phi}-p^{t}+3p^{\phi}+1[/itex]. If that is a square it would be equal to some n^2 for some even [itex]n[/itex]. [itex] p^{t+\phi}-p^{t}+3p^{\phi}+1=n^2[/itex]. We prove that it will not happen based upon two cases. Let us simplify it further. [itex]p^{\phi}(p^t-p^{t-\phi}+3)= n^2-1[/itex]
\begin{equation}
p^{\phi}(p^t-p^{t-\phi}+3) = (n+1)(n-1).
\end{equation}

From the above equation its evident that [itex]p^{\phi}[/itex] may divide either [itex](n+1)[/itex] or [itex](n-1)[/itex]. So there are two cases possible.
\subsubsection{ Dividing n-1 }

As we said that [itex]p^{\phi}|(n-1) [/itex] . From here the proof turns out to be interesting. We know that [itex]n[/itex] is even, hence [itex]n-1[/itex] would be odd. So if [itex]p^{\phi}[/itex] divides [itex](n-1)[/itex] in [itex](n-1)(n+1)[/itex] it must give rise to some new term of the form [itex]d.(n+1)[/itex] where [itex]d[/itex] is odd ( Since, odd number divided by odd number would give rise to odd number ). So that [itex]d.(n+1) = (p^t-p^{t-\phi}+3) [/itex] (since from (2)). So let us prove that its a contradiction.
[itex]d.(n+1) = (p^t-p^{t-\phi}+3)[/itex]
[itex]d.(n+1) = p^t(1-p^{-\phi})+3[/itex]
[itex] d.(n+1)-3= p^t(1-p^{-\phi}) [/itex]---(3)

So here its evident that [itex]p^t | d.(n+1)-3 [/itex] . So the equation (3) can be written as
[itex]M.(d.(n+1)-3)=(1-p^{-\phi})[/itex]. Where it divides [itex]M[/itex] times ( [itex]M[/itex] can be even [itex]1[/itex] in which the same equation is obtained ).
So its clearly evident that L.H.S is an integer. So the R.H.S is

[itex] \frac{p^{\phi}-1}{p^{\phi}}[/itex]---(4)

So its evident that a prime number minus one is an even number. Prime numbers are nothing but in some sense odd numbers. So odd number minus one would be an even number. So the numerator in the (4) is a even number and denominator is the odd number. So it would never turn to an integer. Which is a contradiction.
I have still proved many things, but I didn't end up with any contradiction sir.
Jun12-12, 06:20 PM   #31
 
Recognitions:
Homework Helper Homework Help
Science Advisor Science Advisor
Quote by S.Iyengar View Post
[itex] d.(n+1)-3= p^t(1-p^{-\phi}) [/itex]---(3)

So here it's evident that [itex]p^t | d.(n+1)-3 [/itex] .
No, you can't do that. [itex]1-p^{-\phi}[/itex] is not an integer.
E.g. 18 = 33-32 = 33(1-3-1), but 33 does not divide 18.
Jun12-12, 08:10 PM   #32
 
Strange thread indeed. Have you agreed on what statement you are looking to prove? For example, when p=3, m=a+2 then (p^m+3)(p^a-1)+4 is a square, so you may want p>3 in your original statement.
Jun12-12, 11:40 PM   #33
 
Quote by Norwegian View Post
Strange thread indeed. Have you agreed on what statement you are looking to prove? For example, when p=3, m=a+2 then (p^m+3)(p^a-1)+4 is a square, so you may want p>3 in your original statement.
Yes sir, I am sorry. There p>3 actually. But later I came to know that exception
Jun12-12, 11:43 PM   #34
 
Quote by haruspex View Post
No, you can't do that. [itex]1-p^{-\phi}[/itex] is not an integer.
E.g. 18 = 33-32 = 33(1-3-1), but 33 does not divide 18.
So is there any alternate way of fixing it sir ?. I do know , but I thought that the equation would imply that.
New Reply

Similar discussions for: Proving something cant be written as a square
Thread Forum Replies
Prove that any square matrix can be written as the sum of a symmteric and a skew-symm Calculus & Beyond Homework 8
Help with proving a function can be written f = E + O Precalculus Mathematics Homework 19
Every integer can be written as a sum of a square and square free integer Calculus & Beyond Homework 5
help needed in proving a number to be perfect square General Math 12
Proving a perfect square with factorials Introductory Physics Homework 3