The solution (or actually one of many solutions) of this cubic equation with minimal integer positive value of (x+y+z), is x = 30,864,197 , y = -246,913,580 , z = 216,049,384 ; in that case, x+y+z = 1, and you can't get smaller than that. (Sorry, I wrote the same thing as a remark in the solution script, but I made a typo and wrote the wrong value of z there.)
Return the 3n+1 sequence for n
Whether the input is vector?
Duplicate each element of a vector.
BattleShip - Seaman (1) thru Admiral(6) : CPU Time Scoring(msec)
Vector Linear sum: (p1-m1)V1+(p2-m2)V2+...(pK-mk)Vk
Play Tic-Tac-Toe: Easy Bots
GJam 2014 China Rd B: Dragon Maze
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office