35

As the title says, I need help proving or disproving that there is only one Fibonacci number that's the sum of two (positive) cubes, $2$. I did a small brute force test with Fibonacci numbers below $10^{15}$ but I couldn't find anything.

Edit: A possibly fast way to factor sums of cubes is described in another question here.

I tested Hagen von Eitzen's $F_{3n} - F^3_{n+1}$ up to $n = 200000$ and brute force up to $10^{21}$ but no results. As the numbers grow bigger the chance of a cube gets smaller.

qwr
  • 10,716
  • 2
    $F_{3n}-F_{n+1}^3$ is relatively small and hence has some chance to be a cube "by chance". But otherwise the exponential growth makes the existence of larger solutions somewhat unlikely. – Hagen von Eitzen May 10 '14 at 22:00
  • @HagenvonEitzen As the numbers grow larger there are more options for sums, so I think at least one counterexample has to exist. – qwr May 10 '14 at 22:26
  • @qwr, what is the source of this problem? – Will Jagy May 10 '14 at 22:29
  • 2
    @WillJagy I read that there are an infinite number of fibonacci numbers that are the sum of squares, but I couldn't find anything supporting if this was true or not for cubes. – qwr May 10 '14 at 22:40
  • 1
    every other Fibonacci number is a Markov number and therefore the sum of two squares. http://en.wikipedia.org/wiki/Markov_number Not sure about cubes, and given that you are just curious and did not get this from any specific text, not sure there is a method for dealing with cubes here. – Will Jagy May 10 '14 at 22:47
  • perhaps I should emphasize that I meant every second Fibonacci number. Depending how you choose to index the Fibonaccis, it is either all odd index or all even index that are Markov numbers. These occur in the highest branch in the wikipedia diagram of the Markov tree. – Will Jagy May 10 '14 at 23:36
  • If $F_n=a^3+b^3$ then $a+b\mid F_n$. By the OPs findings, $a+b>10^5$. Heuristically, for given $d=a+b$, the probability that $d\mid F_n$ is about $\frac 1d$ so that we expect the first positive $m$ with $d\mid F_m$ at $m\approx d$. But then $F_n\ge F_m\approx \phi^m\gg m^3\approx d^3\approx a^3+b^3$. - Of course, specifically picking $d$ as a large divisor of a small $F_m$ somewhat breaks this argument ... – Hagen von Eitzen May 11 '14 at 15:57
  • @HagenvonEitzen silly question but if I were to check every solution manually , what range of $a$ should I check for (1 to $\sqrt{F}$ or less)? – qwr May 12 '14 at 02:18
  • Can it be a sum of any two positive perfect cubes, not necessarily Fibonacci cubes? – Brian J. Fink May 12 '14 at 17:08
  • Also, do they need to be two different cubes? – Brian J. Fink May 12 '14 at 17:32
  • @BrianJ.Fink They can be any perfect cubes, and be the same number. – qwr May 12 '14 at 19:04
  • Intriguing. I couldn't find anything about this with a web search, other than this page, of course. – Brian J. Fink May 12 '14 at 20:16
  • I think if you're trying to check manually, you might check up to $\sqrt[3]{\tfrac{F}{2}}$ – Brian J. Fink May 15 '14 at 02:01
  • It is conjectured that every integer not equal to $4$ modulo $9$ is representable as the sum of three cubes (allowing negatives). If this conjecture is correct, then it would apply to most Fibonacci numbers. – 2'5 9'2 May 16 '14 at 21:56
  • Note: Using F[0] = 0 as the initial index, not only is each Fibonacci number of odd index with $2n + 1 > 1$ the sum of two squares, it the sum of the squares of two consecutive Fibonacci numbers: $F[2n+1] = F[n+1]^{2} + F[n]^{2} $ – Random Excess May 16 '14 at 23:15
  • For the sake of completion, the Fibonacci numbers of even index $2n > 0$ can be written as the difference of two squares of Fibonacci numbers: $F[2n] = F[n+1]^{2} - F[n-1]^{2}$ – Random Excess May 16 '14 at 23:19
  • It holds through $F_{102}$, the largest Fibonacci number $< 10^{21}$. – NovaDenizen May 16 '14 at 23:38
  • Crossposting to MO? – chubakueno May 21 '14 at 00:02
  • @qwr What do you think of my answer edit? – Brian J. Fink May 22 '14 at 04:17
  • 1
    On the other hand, there are at least two cubes that are sums of two Fibonaccis: $$\eqalign{F_4 + F_5 &= 2^3\cr F_7+ F_{16} &= 10^3\cr}$$ – Robert Israel May 22 '14 at 07:17
  • @qwr I revised my answer yet again! I hope you find it useful! – Brian J. Fink May 22 '14 at 18:16
  • @RobertIsrael but is 1008 a Fibonacci number? – Brian J. Fink May 22 '14 at 18:18
  • @RobertIsrael nope. The closest Fibonacci is $F_{16}=987$. – Brian J. Fink May 22 '14 at 18:40
  • @qwr I completely abandoned my previous answer and rewrote the whole thing. – Brian J. Fink May 22 '14 at 21:30
  • 4
    I think it is worth to consider the problem under another perspective. It is well-known that $n$ belongs to the Fibonacci sequence iff $5n^2\pm 4$ is a square, so it suffices to find all the integer solutions of $$5(a^3+b^3)^2 = c^2\pm 4.$$ – Jack D'Aurizio May 22 '14 at 22:27
  • 5
    $F_{3n} - F_{n+1}^3 = F_n^3 - F_{n-1}^3$. By the case $p=3$ of Fermat's Last Theorem, this is never a cube except for the trivial cases $n=0,1,2$. – Robert Israel May 23 '14 at 01:47
  • @Jack Do you suppose $a=b=1,c=4$ might be the only solution in $\mathbb N$? – Brian J. Fink May 23 '14 at 20:43
  • @qwr I have updated my answer...again. – Brian J. Fink Jun 06 '14 at 05:14
  • @qwr I'm past $F_{133}$ and so far, no more sums of cubes! – Brian J. Fink Jun 11 '14 at 19:32
  • @qwr at $F_{140}$, $F_{3}$ is still the only sum of cubes in th Fibonacci sequence. – Brian J. Fink Jun 14 '14 at 15:06

4 Answers4

10

On the assumption there isn't an "easy" reason for the answer to be yes or no, here is a heuristic justification of the conjecture.

There are only $O(n^{2/3})$ ways to write a sum of two (positive) cubes that is a number less than $n$; a "random" number of size $\Theta(n)$ therefore has a probability $O(n^{-1/3})$ of being a sum of two cubes, with the hidden constant not being too small. (probably a little less than $1/3$)

The expected number of ways to write a Fibonacci number as a sum of two cubes is thus something like

$$ O\left( \sum_{n=0}^{\infty} F_n^{-1/3} \right) \approx O\left( \sum_{n=0}^{\infty} \varphi^{-n/3} \right) \approx O\left( \frac{1}{1 - \varphi^{-1/3}} \right)$$

so it's probably a small finite number. Your empirical evidence says the small finite number is probably $1$.

It is quite possible that the conjecture is true, but for no good reason at all, which would make it very hard to come up with a proof. It might even be independent of Peano's axioms!

6

There are no further solutions for $n \leq 300$. Even dropping the positivity condition the only other solutions are $F_6 = 8 = 2^3 + 0^3 = 0^3 + 2^3$. This corroborates Hurkyl's heuristic that it is almost certain that there are no other Fibonacci numbers that are sums of two cubes. I doubt that this can be proved, though the search technique described below can surely be used well past $n=300$, because the main difficulty is factoring $F_n$, and $F_{300}$ has only about $60$ digits.

To try to express an integer $f$ as $a^3+b^3$, use the factorization $a^3 + b^3 = (a+b)(a^2-ab+b^2)$. For each pair $(x,y)$ such that $f=(x,y)$, check whether $3(4x-y^2)$ is a square, since that's the criterion for $(x, y) = (a^2-ab+b^2, a+b)$ [the point is that $4x-y^2 = 3(a-b)^2$].

I did this for $f=F_n$ and all $n \leq 300$ using this table of Fibonacci factorizations (discarding the 100 values of $n$ for which $F_n\bmod 9 \in \{3,4,5,6\}$, since such a number can never be the sum of two cubes). This took only ~30 seconds in gp, even though some candidates $F_n$ in this range have more than a million factors. Only the known solutions for $F_3=2$ and $F_6=8$ were found.

(also reported at MSE question 822435.)

Noam D. Elkies
  • 25,917
  • 1
  • 64
  • 82
2

In the interest of accuracy, I am completely rewriting my answer. As Random Excess said in the comments, every Fibonacci number is either a sum or a difference of two squares, and I think this can be helpful, because we can compare the sums of cubes that are also sums or differences of squares: $$2, 9, 16, 28, 35, 65, 72, 91, 128\dots$$ to the Fibonacci sequence: $$0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55,89\dots$$ As you can see, the only number they have in common this early in both sequences is $2$. This could make your search faster by limiting the number of terms in the sequence of sums of cubes, and in the right hands, it might also be used to prove your conjecture! I hope this helps!

I also think Jack D'Aurizio's idea of using: $$5(a^3+b^3)^2=c^2\pm~4$$ which is just another way of checking that $$F_n=a^3+b^3$$ has merit because it means you only have to examine each sum of cubes once.

Keep in mind as well: $$\begin{align}(a^3+b^3)&=(a+b)(a^2-ab+b^2)\\ &=(a+b)(a^2-2ab+b^2+ab)\\ &=(a+b)((a-b)^2+ab) \end{align}$$

I am testing a program that uses the formula mentioned above and have discovered that it is extremely slow, because I have to check both cases and take the square root. You might like to check this answer as it may be faster to check the interval instead for an integer. The simplest way I know of to do this is to take the floor value of both numbers: $$\left\lfloor\frac{1+\sqrt{5}}{2}(a^3+b^3)-\frac{1}{a^3+b^3}\right\rfloor\lower{1em}{\LARGE,}\left\lfloor\frac{1+\sqrt{5}}{2}(a^3+b^3)+\frac{1}{a^3+b^3}\right\rfloor$$ If both numbers are equal, the number is not Fibonacci. If they are different, it is!

Edit: Forget about everything I said above. It turns out to be far more efficient to iterate through the Fibonacci numbers, testing the sums of cubes for each one, as: $$a\leqslant\sqrt[\LARGE 3]{\frac{F_n}{2}},b=\sqrt[\LARGE 3]{F_n-a^3}$$ So in short, my answer was right the first time. My program could still be more efficient, but it's up to $\require{enclose}\enclose{horizontalstrike}{F_{122} F_{141}}F_{168}$ already. I'm also using the modular constraints$\mod 63$ to catch some of the ones that are definitely not sums of cubes, which makes the program even faster. Instead of checking the sums of cubes directly, I am checking for this for every $a,b$: $$(a+b)\mid F_n\\ \frac{F_n}{a+b}=a^2-ab+b^2$$ So far, $F_3=2$ is the only sum of cubes in the Fibonacci sequence.

1

I thought I would add my thoughts.
Using the constraints for moduluses in this question, one can find the periods of the fibbonacci sequence modulus the same integers:
$F_n \mod 7$ gives the following period
$0,1,1,2,3,5,1,6,0,6,6,5,4,2,6,1$
$F_n \mod 9$ gives the following period
$0,1,1,2,3,5,8,4,3,7,1,8,0,8,8,7,6,4,1,5,6,2,8,1$
$F_n \mod 63$ gives the following period
$0,1,1,2,3,5,8,13,21,34,55,26,18,44,62,43,42,22,1,23,24,47,8,55,0,55,55,47,39,23,62,22,21,43,1,44,45,26,8,34,42,13,55,5,60,2,62,1$
Using these numbers one can derive:
if $F_n = a^3+b^3$, none of the following have an integer solution.
$16x+4=n$
$16x+11=n$
$24x+4=n$
$24x+5=n$
$24x+7=n$
$24x+8=n$
$24x+17=n$
$24x+19=n$
$48x+4=n$
$48x+5=n$
$48x+7=n$
$48x+16=n$
$48x+17=n$
$48x+19=n$
$48x+20=n$
$48x+28=n$
$48x+29=n$
$48x+31=n$
$48x+32=n$
$48x+36=n$
$48x+40=n$
$48x+41=n$
$48x+43=n$
$48x+44=n$
So if one can show that all integers above some constant satisfy atleast one of the above, and then test $F_1...F_c$ for having being a sum of 2 cubes where $c$ is that constant, you would have a proof.

Alice Ryhl
  • 7,853
  • 2
    There's one major problem with the modular constraints you based your equations on. They treat perfect cubes and differences of cubes just like sums of cubes. This can result in false positives within the Fibonacci sequence--for example, $8$, $34$, and $55$, just to name a few. – Brian J. Fink May 17 '14 at 03:23
  • OK my bad...apparently the modular constraints are the same regardless of the sign of either term! Oops! – Brian J. Fink May 19 '14 at 19:14
  • Unfortunately, your constraints - which would IMHO be better written just as e.g. $n\not\equiv 4\pmod {16}$, etc. - don't cover all the residue classes mod 48; for instance, all $n\equiv 1\bmod 48$ will still 'fall through' your sieve. – Steven Stadnicki May 21 '14 at 00:37
  • 3
    There will walways be some residue class that falls through finitely many modular constraints - simply because there exists one solution – Hagen von Eitzen May 23 '14 at 06:39
  • @HagenvonEitzen Here's a finite amount of modular constraints, that have no solution: $x\not\equiv0 \mod2,~~~~~x\not\equiv1\mod2$ – Alice Ryhl May 24 '14 at 09:47
  • 1
    @Darksonn Hagen von Eitzen was referring to problems (such as this one) in which there is some solution. The modular restrictions have to allow this solution to exist and consequently allow infinitely many other candidate values too. Of course, other methods can then be used to rule them out; but purely modular arithmetic approach would be insufficient. – Peter Košinár May 24 '14 at 15:26