Find n such that both n+3 and n^2+3 are perfect cubes

  • Topic:
  • Thread starter Thread starter kaliprasad
  • Start date Start date
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
5 replies · 2K views
kaliprasad
Gold Member
MHB
Messages
1,333
Reaction score
0
Find n such that both $n+3$ and $n^2+3$ are perfect cubes
 
Mathematics news on Phys.org
kaliprasad said:
Find n such that both $n+3$ and $n^2+3$ are perfect cubes

hint

product of 2 cubes is a cube
 
kaliprasad said:
hint

product of 2 cubes is a cube
[sp]So if $n+3$ and $n^2+3$ are cubes then so is $(n+3)(n^2+3) = n^3 + 3n^2 + 3n = (n+1)^3 - 1$. But two consecutive numbers cannot both be cubes unless they are $0$ and $1$. Since $n^2 + 3 \geqslant 3$, the pair $0$ and $1$ cannot arise in this way. Therefore the question is asking for something impossible (which I think is a bit sneaky! (Tongueout) ).[/sp]
 
Last edited:
Opalg said:
[sp]So if $n+3$ and $n^2+3$ are cubes then so is $(n+3)(n^2+3) = n^3 + 3n^2 + 3n = (n+1)^3 - 1$. But two consecutive numbers cannot both be cubes unless they are $0$ and $1$. Since $n^2 + 3 \geqslant 3$, the pair $0$ and $1$ cannot arise in this way. Therefore the question is asking for something impossible (which I think is a bit sneaky! (Tongueout) ).[/sp]

Sorry Opalg,

product you evaluated is not correct
 
kaliprasad said:
Sorry Opalg,

product you evaluated is not correct
[sp]Oops, yes, of course it should be $(n+3)(n^2+3) = n^3 + 3n^2 + 3n + 9 = (n+1)^3 + 8$. But the only cubes that differ by $8$ are $0$ and $\pm8$. Since none of those numbers is of the form $n^2+3$, no such $n$ exists.

I still think it is unfair to phrase the question in a way that implies it is possible to find $n$, when in fact it is not possible.[/sp]
 
Opalg said:
[sp]
I still think it is unfair to phrase the question in a way that implies it is possible to find $n$, when in fact it is not possible.[/sp]

I do not think so. The answer is there is no such n. the set can be empty.