Not as hard as it looks

How many integers n n with 1 n 1000 1\leq{n}\leq{1000} are there such that n 3 4 n n^3-4n is divisible by 144?


The answer is 166.

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

We require 1 n 1000 1 \le n \le 1000 such that n 3 4 n = n ( n 2 4 ) = n ( n 2 ) ( n + 2 ) n^{3} - 4n = n(n^{2} - 4) = n(n - 2)(n + 2) be divisible by 144 = 2 4 3 2 . 144 = 2^{4}3^{2}.

Now if n n is odd then none of n , ( n 2 ) , ( n + 2 ) n, (n - 2), (n + 2) are divisible by 2 , 2, and hence their product cannot be divisible by 2 4 . 2^{4}. If n n is even, then all of these factors are divisible by 2 2 and either one or two are divisible by 4. 4. In either case their product will then be divisible by 2 4 . 2^{4}.

Precisely one of n , ( n 2 ) , ( n + 2 ) n, (n - 2), (n + 2) will be divisible by 3 , 3, so for the product of the three terms to be divisible by 3 2 3^{2} we will need one of them to be divisible by 9. 9.

So combining these observations, we see that for each n n that is an even multiple of 9 , 9, i.e., n = 18 k , n = 18k, each of n = 18 k 2 , 18 k n = 18k - 2, 18k and 18 k + 2 18k + 2 will be such that n ( n 2 ) ( n + 2 ) n(n - 2)(n + 2) will be divisible by 144. 144. For k = 0 k = 0 we have just one of the values in the desired range, (namely n = 2 n = 2 ), but since 18 55 + 2 = 992 18*55 + 2 = 992 we see that for 1 k 55 1 \le k \le 55 each of these 3 3 expressions will yield valid solutions.

There will thus be a total of 1 + 3 55 = 166 1 + 3*55 = \boxed{166} solutions.

Thank you for another delightful solution!

Otto Bretscher - 5 years, 9 months ago

I lost in n=2 so I got 165.=55×3. I realized later n=2 product is 0.amazing solution.

nagarjuna reddy - 5 years, 9 months ago

Log in to reply

Same here. Though my brother corrected me.

Anupam Nayak - 5 years, 6 months ago

Brilliant solution.

Anupam Nayak - 5 years, 6 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...