Number Theory #1

by djmathman, Aug 5, 2011, 6:57 PM

Problem wrote:
Find all positive primes $n$ such that $n^3+1$ is a perfect square.

We see that $n=2$ works, so we try to find more values that result in a perfect square. We can rewrite this problem as $n^3+1=k^2$ for some integer $k$. Then we have $n^3=k^2-1\implies n^3=(k-1)(k+1)$. Since $n$ is a positive prime, we can consider two cases:

CASE 1:

We let $k-1=1$ and $k+1=n^3$. We see from the first equation that $k=2$, and plugging this into the second equation gives us $3=n^3$, which does not have an integer solution.

CASE 2:

We let $k-1=n$ and $k+1=n^2$. Rewriting the first equation gives us $k=n+1$, and substituting this value into the second equation gives us $n+2=n^2\implies n^2-n-2=0\implies (n-2)(n+1)=0$. Therefore, either $n=2$ or $n=-1$. However, $n$ has to be positive, so the only value that works is $\boxed{2}$.
This post has been edited 1 time. Last edited by djmathman, Aug 6, 2011, 2:15 PM

Comment

1 Comment

The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Also, a simpler way to do this it to factor the sum of cubes. $$n^3+1=(n+1)(n^2-n+1)$$. We want this quantity to be a perfect square, thus the two factors $(n+1)$ and $(n^2-n+1)$ must be equal. Setting them equal to each other, we have $$n+1=n^2-n+1$$.
$$\implies n^2=2n$$So, the only positive solution is $\boxed{n=2}$.

by sgadekar, Jan 23, 2017, 7:38 PM

A blog documenting a (no longer) high school youth and his struggles with advancing his mathematical skill.

avatar

djmathman
Archives
- April 2025
+ November 2024
+ November 2023
+ February 2023
+ November 2022
+ November 2020
+ July 2020
+ December 2019
+ October 2019
+ July 2019
+ April 2019
+ February 2019
+ October 2018
+ November 2017
+ October 2017
+ September 2017
+ June 2017
+ February 2015
+ January 2012
Shouts
Submit
  • dj so orz :omighty:

    by Yiyj1, Mar 29, 2025, 1:42 AM

  • legendary problem writer

    by Clew28, Jul 29, 2024, 7:20 PM

  • orz $$\,$$

    by balllightning37, Jul 26, 2024, 1:05 AM

  • hi dj $ $ $ $

    by OronSH, Jul 23, 2024, 2:14 AM

  • i wanna submit my own problems lol

    by ethanzhang1001, Jul 20, 2024, 9:54 PM

  • hi dj, may i have the role of contributer? :D

    by lpieleanu, Feb 23, 2024, 1:31 AM

  • This was helpful!

    by YIYI-JP, Nov 23, 2023, 12:42 PM

  • waiting for a recap of your amc proposals for this year :D

    by ihatemath123, Feb 17, 2023, 3:18 PM

  • also happy late bday man! i missed it by 2 days but hope you are enjoyed it

    by ab456, Dec 30, 2022, 10:58 AM

  • Contrib? :D

    by MC413551, Nov 20, 2022, 10:48 PM

  • :love: tfw kakuro appears on amc :love:

    by bissue, Aug 18, 2022, 4:32 PM

  • Hi dj :)

    by 799786, Aug 10, 2022, 1:44 AM

  • Roses are red,
    Wolfram is banned,
    The best problem writer is
    Djmathman

    by ihatemath123, Aug 6, 2022, 12:19 AM

  • hello :)

    by aidan0626, Jul 26, 2022, 5:49 PM

  • Do you have a link to your main blog that you started after graduating from high school, I couldn't find it. @dj I met you IRL at Awesome Math summer Program several years ago.

    by First, Mar 1, 2022, 5:18 PM

363 shouts
Tags
About Owner
  • Posts: 7938
  • Joined: Feb 23, 2011
Blog Stats
  • Blog created: Aug 5, 2011
  • Total entries: 567
  • Total visits: 487675
  • Total comments: 1520
Search Blog
a