RE: [Golfing] Collatz Conjecture 08-22-2015, 05:28 PM
#38
(08-22-2015, 04:18 PM)Lux Wrote: Okay, kid.
sorry man all hail gitblub
Spoiler:
jk ily rly
(08-22-2015, 04:46 PM)OversouL Wrote: I forgot to add that thanks to Shebang I'm now at 105 bytes.
Code:#include <iostream> int main(){int n;std::cin>>n;while(n>1){n=n%2?3*n+1:n/2;std::cout<<n<<" ";}return 0;}
Updated.














![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)