Every Journey Begins With One Step

Find the number of positive integer pairs ( a , b ) (a,b) that satisfy the equation a 2 + a + 1 = b 2 a^{2} + a + 1 = b^{2} .


Now try the generalized version .

0 1 2 3 4 There are infinitely many solutions

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.

2 solutions

Note that for a 1 a \ge 1 we have that a 2 < a 2 + a + 1 < a 2 + 2 a + 1 = ( a + 1 ) 2 a^{2} \lt a^{2} + a + 1 \lt a^{2} + 2a + 1 = (a + 1)^{2} . So as a 2 + a + 1 a^{2} + a + 1 for a 1 a \ge 1 lies strictly between successive squares the expression cannot itself be a perfect square. Thus the number of positive integer pairs ( a , b ) (a,b) is 0 \boxed{0} .

Nice solution! Here's my approach:

Multiply both sides by 4 and factor them gives 4 a 2 + 4 a + 4 = 4 b 2 ( 2 b ) 2 ( 2 a + 1 ) 2 = 3 4a^2 +4a+4 = 4b^2 \Leftrightarrow (2b)^2 - (2a+1)^2 = 3 . This tells us that the difference of two perfect squares is 3, thus 2 b = ± 2 , 2 a + 1 = ± 1 2b = \pm 2 , 2a+1= \pm 1 . But since a a (and b b ) must be a positive integer, there can't be any solution that satisfy this condition. Hence, the answer is 0.

Pi Han Goh - 5 years, 2 months ago

Log in to reply

Nice! Your method is more suitable than mine for generalizing to the equation a 2 + a + n = b 2 , n > 1 a^{2} + a + n = b^{2}, n \gt 1 . Mine is more of a "one-off", (pun intended), for the case n = 1 n = 1 . :)

Brian Charlesworth - 5 years, 2 months ago

Is 0 a positive integer?

indra aditya - 5 years, 1 month ago

Log in to reply

0 is a null integer. You can tell the diference when we write the subsets of integers, for example:

• Non-negative integers: 0 + positive integers

• Positive integers: integers > 0

Leonardo Cidrão - 5 years, 1 month ago
Davy Ker
Apr 17, 2016

Assume there exists such a pair of positive integers ( a , b ) (a,b) .

Since a > 0 a>0 , we see that a 2 + a + 1 > a 2 a^2+a+1>a^2 so b 2 > a 2 b^2>a^2 so b > a b>a .

Since a and b are positive integers, there exists a positive integer k such that b = a + k b=a+k . Therefore

a 2 + a + 1 = ( a + k ) 2 a^2+a+1=(a+k)^2

a 2 + a + 1 = a 2 + 2 a k + k 2 a^2+a+1=a^2+2ak+k^2

a + 1 = 2 a k + k 2 a+1=2ak+k^2

1 k 2 = a ( 2 k 1 ) 1-k^2=a(2k-1)

a = 1 k 2 2 k 1 a=\frac{1-k^2}{2k-1}

Clearly, for positive integers k, 1 k 2 0 1-k^2≤0 and 2 k 1 > 0 2k-1>0 , hence a 0 a≤0 , a contradiction. Thus there does not exist such a pair, and the answer is 0 \boxed{0} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...