Totally unrelated to Taxicab numbers

Find the positive integer n n such that n 3 + 2 n 2 + 9 n + 8 n^3 + 2n^2 + 9n + 8 is a perfect cube.


The answer is 7.

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.

6 solutions

Nelson Mandela
Jan 2, 2015

n 3 < n 3 + 2 n 2 + 9 n + 8 < ( n + 2 ) 3 . n^3 < n^3+2n^2+9n+8 < (n+2)^3.

Which implies that n 3 + 2 n 2 + 9 n + 8 = ( n + 1 ) 3 . n^3+2n^2+9n+8 = (n+1)^3.

Thus, n 2 = 6 n + 7 , n^2 = 6n+7, so n = 7. n=7.

Moderator note:

You certainly bounded it extremely well. Great job!

I did the exact same.... (+1)

Aditya Kumar - 5 years, 1 month ago

Log in to reply

vent now!,????} Children...www.elevenaretwo@gmail.com

Michael A.MSsteele - 2 years, 8 months ago

Same thing. Bounding is very common in such problems

Ayan Pal - 6 months, 4 weeks ago

n=0 results to 8 which is a perfect cube??? you have not mentioned n > 0

Faisal Basha - 6 years, 2 months ago

Log in to reply

It is mentioned POSITIVE INTEGER n

Samarth Agarwal - 6 years, 2 months ago

Log in to reply

Which is why the answer is not n=0. However for the way that he's formatted his proof, I believe he still has to specify n>0 else n has multiple values.

Hugh Crawford - 5 years, 4 months ago

Use standard upright languages. Yes Or No?z kiss kiss lvMiichael heal help as much as any.

Michael A.MSsteele - 2 years, 8 months ago
Josh Banister
Mar 31, 2015

Firstly, Consider the equation n 3 + 2 n 2 + 9 n + 8 = ( n + 2 ) 3 4 n 2 + 3 n = a 3 n^3 + 2n^2 + 9n + 8 = (n+2)^3 -4n^2 + 3n = a^3 where n n is a positive integer. As all the terms are positive, this implies that a 3 a^3 is positive as is a a . If we rearrange the equation we can get ( n + 2 ) 3 4 n 2 3 n = a 3 3 n 4 n 2 = a 3 ( n + 2 ) 3 n ( 3 + 4 n ) = ( a n 2 ) ( a 2 + a ( n + 2 ) + ( n + 2 ) 2 ) (n+2)^3 -4n^2 - 3n = a^3 \\ -3n - 4n^2 = a^3 - (n+2)^3 \\ -n(3+4n) = (a - n - 2)(a^2 + a(n+2) + (n+2)^2 ) Notice that for positive n n , 3 + 4 n 3 +4n is always positive so the LHS is negative. If you also look at the RHS, a 2 + a ( n + 2 ) + ( n + 2 ) 2 a^2 + a(n+2) + (n+2)^2 is always positive for positive a , n a, n so therefore a n 2 a - n - 2 is negative. That is a n 2 < 0 a < n 2 a - n - 2 < 0 \implies a < n-2

Next, We can also state that n < a n < a because n 3 < n 3 + 2 n 2 + 9 n + 8 = a 3 n^3 < n^3 + 2n^2 + 9n + 8 = a^3 . If we combine the two inequalities, we get the penultimate n < a < n + 2 n < a < n+2 Since a , n a, n are integers, it only makes sense that a a is an integer between integers n n and n + 2 n+2 so that can only leave a = n + 1 a = n+ 1 . We can now substitute this result back into the original equation and the result follows. n 3 + 2 n 2 + 9 n + 8 = ( n + 1 ) 3 n 3 + 2 n 2 + 9 n + 8 = n 3 + 3 n 2 + 3 n + 1 n 2 6 n 7 = 0 ( n 7 ) ( n + 1 ) = 0 n = 7 , n = 1 n^3 + 2n^2 + 9n + 8 = (n+1)^3 \\ n^3 + 2n^2 + 9n + 8 = n^3 + 3n^2 + 3n + 1 \\ n^2 - 6n - 7 = 0 \\ (n-7)(n+1) = 0 \\ n = 7, n = -1 Given that n n is positive, we can ignore our value of n = 1 n = -1 so we are left with n = 7 \boxed{n = 7}

This is an extremely well detailed solution! If I could, I would double upvote you :)

Abyoso Hapsoro - 6 years, 1 month ago

First of all, let's consider:

n 3 + 2 n 2 + 9 n + 8 = m 3 n^3 + 2n^2 + 9n + 8 = m^3

Where m m is a positive integer.

As n n is a positive integer ( n > 0 ) (n>0) , it is clear that n 3 + 2 n 2 + 9 n + 8 > n 3 n^3 + 2n^2 + 9n + 8 > n^3 . Let's, then, compare the expression with ( n + 2 ) 3 (n+2)^3 :

( n + 2 ) 3 = n 3 + 6 n 2 + 12 n + 8 (n+2)^3 = n^3 + 6n^2 + 12n + 8

Once that n > 0 n>0 , 6 n 2 + 12 n > 2 n 2 + 9 n 6n^2 + 12n > 2n^2 + 9n , and therefore:

( n + 2 ) 3 > m 3 > n 3 (n+2)^3 > m^3 > n^3

( n + 2 ) > m > n (n+2) > m > n

From the inequation above, we can conclude that m = n + 1 m = n+1 , so:

( n + 1 ) 3 = n 3 + 2 n 2 + 9 n + 8 (n+1)^3 = n^3 + 2n^2 + 9n + 8

n 3 + 3 n 2 + 3 n + 1 = n 3 + 2 n 2 + 9 n + 8 n^3 + 3n^2 + 3n + 1 = n^3 + 2n^2 + 9n + 8

n 2 6 n 7 = 0 n^2 -6n -7 = 0

The equation above has two trivial solutions: n = 7 n = 7 and n = 1 n= -1 . Yet, the problem asked for a positive integer, which means the final answer is n = 7 n = 7 .

Hope it helped!

Amed Lolo
Feb 8, 2016

n^3+2n^2+9n+8=(n+1)(n^2+n+8)=a.a^2. n+1=a&n^2+n+8=a^2. n=a-1 by substitut. (a-1)^2+a-1+8=a^2 . a=8 &n=7######

The same way.

ZH X - 1 month, 4 weeks ago
Kevin Cheng
Feb 12, 2018

We can compute this quite easily. Consider the following python code:

1
2
3
4
cubes = [n**3 for n in range(100)]
for n in range(100):
    if n**3 + 2 * n**2 + 9 * n + 8 in cubes:
        print n

This results in 0 or 7, but obviously 0 is not a valid answer. So the answer is 7 \boxed 7 .

William Isoroku
Apr 8, 2015

In the equation, 8 is already a perfect cube: 2 3 2^3

The next and smallest perfect cube is ( 2 3 ) 3 = 2 9 (2^3)^3=2^9 or 8 3 8^3

If this is true, then n n is either a decimal or an integer.

Set the equation as n 3 + 2 n 2 + 9 n + 8 = 8 3 n^3+2n^2+9n+8=8^3

Solve the equation, I did it by graphing.

n n turns out to be 7 7

Moderator note:

This solution has been marked wrong. You did not show that n = 7 n=7 is the only solution.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...