0

# Basic Proof help

Sat 25 Jan, 2014 04:42 pm
"m and n are integers such that n^2 + 1 = 2m" Prove that m is the sum of squares of two non-negative integers.

I'm having a lot of problems with this proof. I tried out a lot of tests and it comes out true, but i cant find a way to prove this works. I tried adding things/substituting numbers and rearranging, but I feel like there's an identity I'm missing.
• Topic Stats
• Top Replies
Type: Question • Score: 0 • Views: 781 • Replies: 3
No top replies

Kolyo

1
Sat 25 Jan, 2014 05:42 pm
@lavaxy1,
One immediate insight I can give you is that n has to be odd. (Prove that to yourself.) Another insight is the n can be any positive odd number; another is that your choice of n completely determines the value of m.
0 Replies

Kolyo

1
Sat 25 Jan, 2014 05:48 pm
@lavaxy1,
Let's look at some low-n examples:

n=1 => m=1. 1 = 0^2 + 1^2
n=3 => m=5, 5 = 1^2 + 2^2
n=5 => m=13, 13 = 2^2 + 3^2

So you just have to prove two things:

(1) Whenever the equation holds, n=2k+1 for some non-negative integer k.
(2) If n=2k+1, then m= k^2 + (k+1)^2.
0 Replies

markr

1
Sat 25 Jan, 2014 07:57 pm
@lavaxy1,
As Kolyo pointed out, n is odd.
Let n=2p+1.
(2p+1)^2 + 1 = 2m
4p^2 + 4p + 1 + 1 = 2m
2p^2 + 2p + 1 = m
p^2 + (p^2 + 2p + 1) = m
p^2 + (p+1)^2 = m
m is the sum of two squares.
0 Replies

### Related Topics

Amount of Time - Question by Randy Dandy
logical number sequence riddle - Question by feather
Calc help needed - Question by mjborowsky
HELP! The Product and Quotient Rules - Question by charsha
STRAIGHT LINES - Question by iqrasarguru
Possible Proof of the ABC Conjecture - Discussion by oralloy
Help with a simple math problem? - Question by Anonymous1234567890
How do I do this on a ti 84 calculator? - Question by Anonymous1234567890

1. Forums
2. » Basic Proof help