For what positive integer n is
n 2 + 1 3 n + 3
a perfect square ?
Bonus: Can you prove that the answer is unique?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I was playing around with these and trying to find a "large unique" solution, which happens when that constant (157) is large and prime.
Log in to reply
Yes, it is kind of fun to play around with finding a , b so that n 2 + a n + b = m 2 , (A), has a unique solution. I find that if we can find a , b so that a 2 − 4 b is prime then (A) will have the unique positive solution n = 4 ( a − 1 ) 2 − b . Having a odd will ensure that n will be an integer, but after that we have to play around with b to make a 2 − 4 b prime. Some examples where b is minimized for a given odd a :
n 2 + 3 n + 1 ⟹ a 2 − 4 b = 5 , n = 0 ,
n 2 + 5 n + 2 ⟹ a 2 − 4 b = 1 7 , n = 2 ,
n 2 + 7 n + 2 ⟹ a 2 − 4 b = 4 1 , n = 7 ,
n 2 + 9 n + 2 ⟹ a 2 − 4 b = 7 3 , n = 1 4 ,
n 2 + 1 1 n + 2 ⟹ a 2 − 4 b = 1 1 3 , n = 2 8 ,
n 2 + 1 3 n + 3 ⟹ a 2 − 4 b = 1 5 7 , n = 3 3 ,
n 2 + 1 5 n + 7 ⟹ a 2 − 4 b = 1 9 7 , n = 4 2 ,
n 2 + 1 7 n + 2 ⟹ a 2 − 4 b = 2 8 1 , n = 6 2 ,
n 2 + 1 9 n + 2 ⟹ a 2 − 4 b = 3 5 3 , n = 7 9 ,
n 2 + 2 1 n + 2 ⟹ a 2 − 4 b = 4 3 3 , n = 9 8 .
O.k., I'm getting carried away here, but I was just looking for patterns. The only ones I'm seeing are that b = 2 is a predominant minimum and n being a multiple of 7 is disproportionally common.
Log in to reply
I came to the same conclusion in your first paragraph :)
I used a table of primes to determine when
a
2
−
4
b
was prime.
I didn't make the observation that
b
=
2
was very common.
Since
a
2
−
4
=
(
a
−
2
)
(
a
+
2
)
,
b
=
1
will be prime only for
a
=
3
. I can believe that
b
=
2
is common especially for small
a
. How does this compare for larger values of
a
, especially when the prime gaps start to get larger?
Log in to reply
@Chung Kevin – I agree, one would expect a minimum b = 2 to become less common as a increases. The series ( a , b , n ) continues with
( 2 3 , 2 , 1 1 9 ) , ( 2 5 , 2 , 1 4 2 ) , ( 2 7 , 5 , 1 6 4 ) , ( 2 9 , 3 , 1 9 3 ) , ( 3 1 , 2 , 2 2 3 ) ,
( 3 3 , 5 , 2 5 1 ) , ( 3 5 , 2 , 2 8 7 ) , ( 3 7 , 2 , 3 2 2 ) , ( 3 9 , 7 , 3 5 4 ) ,
( 4 1 , 3 , 3 9 7 ) , ( 4 3 , 1 2 , 4 2 9 ) , ( 4 5 , 2 , 4 8 2 ) , ( 4 7 , 1 2 , 5 1 7 ) , . . .
So while 2 does keep showing up, it appears do so increasingly less frequently as a increases. The divisibility of n by 7 seems to be becoming less frequent as well. n has been prime 7 times out of 2 3 so far, which is right in line with the 1 4 primes occurring in the first 4 6 positive integers, so there doesn't seem to be any patterns there.
Sir is there a proof that only 33 is the positive integral solution to the above problem
Log in to reply
Because 1 5 7 is prime and m , n are positive, the only way to break down the factors is to set 2 n + 1 3 + 2 m = 1 5 7 and 2 n + 1 3 − 2 m = 1 , which leads to n = 3 3 as the only solution.
Log in to reply
More accurately, because 2 n + 1 3 + 2 m is positive, and 1 5 7 = ( 2 n + 1 3 + 2 m ) ( 2 n + 1 3 − 2 m ) , hence we need only consider the positive factors of 157. Since 2 n + 1 3 + 2 m > 2 n + 1 3 − 2 m , and 157 is prime, hence we must have 2 n = 1 3 + 2 m = 1 4 7 , 2 n + 1 3 − 2 m = 1 .
Note that 2 n + 1 3 − 2 m could possibly be negative. Furthemore, if we allowed n to be negative, then 2 n + 1 3 + 2 m could be negative. In this case, we have to look at 1 5 7 = − 1 × − 1 5 7 , which gives us 2 n + 1 3 + 2 m = − 1 , 2 n + 1 3 − 2 m = − 1 5 7 , or that n = − 4 6 as Brian pointed out at the end of his solution.
Blegh I went wrong because I threw away the square at my by accident...
Problem Loading...
Note Loading...
Set Loading...
Let m be a positive integer such that n 2 + 1 3 n + 3 = m 2 . Then by completing the square we have
( n + 2 1 3 ) 2 − ( 2 1 3 ) 2 + 3 = m 2 ⟹ ( 2 n + 1 3 ) 2 − 1 3 2 + 3 ∗ 4 = 4 m 2 ⟹
( 2 n + 1 3 ) 2 − ( 2 m ) 2 = 1 5 7 ⟹ ( 2 n + 1 3 + 2 m ) ( 2 n + 1 3 − 2 m ) = 1 5 7 .
Now since 1 5 7 is prime and n , m positive, we must then have that
2 n + 1 3 + 2 m = 1 5 7 and 2 n + 1 3 − 2 m = 1 , and so
( 2 n + 1 3 + 2 m ) + ( 2 n + 1 3 − 2 m ) = 1 5 7 + 1 ⟹ 4 n + 2 6 = 1 5 8 ⟹ n = 3 3 .
Note that 3 3 is not unique over all integers. n = − 4 6 also makes the given expression a perfect square.