Created
November 6, 2019 04:02
-
-
Save ksaj/04eb2ef93a939f00e5ff491fc94661ef to your computer and use it in GitHub Desktop.
3 = the sum of 3 cubes ; a third solution, written in Common Lisp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;; Previously there were only 2 known solutions for | |
;;;; a list of 3 numbers that when cubed and then added | |
;;;; together, equal 3. Here is a new one. | |
(setq a 569936821221962380720) | |
(setq b -0569936821113563493509) | |
(setq c -472715493453327032) | |
(defun cubed (x) | |
"ay cubed plus bee cubed plus cee cubed equals 3 period" | |
(* x x x)) | |
(+ (cubed a) (cubed b) (cubed c)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Incidentally, the previous 2 known solutions were:
(setq a 1)
(setq b 1)
(setq c 1)
and:
(setq a 4)
(setq b 4)
(setq c -5)
Significantly easier number to work with. Can't wait til we find solution 4!