A lot of values for n n !

Level pending

Find the sum of all possible values of n n where n n is a positive integer such that: n 2 + 6 n + 646 = k 2 n^2+6n+646=k^2 for some positive integer k k .


The answer is 369.

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.

1 solution

n 2 + 6 n + 646 = k 2 n^2+6n+646=k^2 ( n + 3 ) 2 + 637 = k 2 (n+3)^2 + 637 = k^2 k 2 ( n + 3 ) 2 = 637 k^2 - (n+3)^2 = 637 ( k n 3 ) ( k + n + 3 ) = 7 × 7 × 13 (k-n-3)(k+n+3) = 7 \times 7 \times 13

\tiny { }

k n 3 = 1 , k + n + 3 = 637 n = 315 k-n-3=1, \; k+n+3=637 \Rightarrow n = 315 k n 3 = 7 k + n + 3 = 91 n = 39 k-n-3=7 \wedge k+n+3=91 \Rightarrow n = 39 k n 3 = 13 k + n + 3 = 49 n = 15 k-n-3=13 \wedge k+n+3=49 \Rightarrow n = 15

\tiny { }

k n 3 > k + n + 3 n < 0 k-n-3 > k+n+3 \Rightarrow n < 0

\tiny { }

n = 369. \boxed{\sum n = 369.}

Great,Guilherme!

Lorenc Bushi - 7 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...