Programming the Collatz Conjecture (3x+1 problem) in Javascript

preview_player
Показать описание
I watched a cool video about the Coolatz Conjecture, and I thought I would program it to test it out and have fun with it.

Here is a link to that video:
Рекомендации по теме
Комментарии
Автор

cool man! i just did the same with C# really fun challenge for me because I'm kind of new

lootbot
Автор

Badass video friend, thanks for coding that as well

ethynandviolafamilyfuntime
Автор

the HTML'S file is not run, someone can help me to copy the archive HTML?

francescoeriani
Автор

Maybe you can help me; For years there has been a lot of excitement regarding the Collatz Conjecture where for any positive whole number (if EVEN n/2, if ODD 3n +1) will always reduce to the Collatz sequence (4, 2, 1, 4, 2, 1, etc.)
Without too much difficulty I figured out that if you use the following formula (if EVEN n/2, if ODD 2n +2) that you will always reduce to the Collatz sequence (4, 2, 1, ...) as well. Surely I can't be the first person to figure this out. Why is there not just as much excitement about (if EVEN n/2, if ODD 2n +2) ???? Maybe you can answer this for me.

danielwylie
Автор

FELICITACIONES

ME LLEGO UN ANUNCIO

THIS MESSAGE IS IN SPANISH

francescoeriani
Автор

would be better to wrote that in a js file

edisduhan
Автор

it looks like you just look on another monitor and copy the programm :D am i right? :D but thats the solution i need thanks man :D

edisduhan
Автор

Hey man. Could you share that HTML file? I'd like to try it out.

wadea
join shbcf.ru