Skip to main content

Timeline for Collatz Conjecture (OEIS A006577)

Current License: CC BY-SA 4.0

11 events
when toggle format what by license comment
Nov 14, 2022 at 5:54 history edited DialFrost CC BY-SA 4.0
added 13 characters in body
Aug 20, 2022 at 21:31 comment added 97.100.97.109 @george Yeah, this is Python 2.
Dec 16, 2016 at 16:01 comment added george Is this python 2.7? I get an error in Python 3.5.1? unsupported operand type(s) for -: 'str' and 'int'
Aug 6, 2013 at 9:12 comment added Valentin CLEMENT That is nifty !
Aug 6, 2013 at 9:12 history edited Valentin CLEMENT CC BY-SA 3.0
added 5 characters in body
Aug 6, 2013 at 4:14 comment added boothby Oh, you can even get shorter than that: [n/2,3*n+1][n%2].
Aug 5, 2013 at 9:54 history edited Valentin CLEMENT CC BY-SA 3.0
added 8 characters in body
Aug 5, 2013 at 9:28 history edited Valentin CLEMENT CC BY-SA 3.0
added 40 characters in body
Aug 3, 2013 at 12:35 comment added Bakuriu You can use n%2and 3*n+1or n/2 to save 5 characters. Also in python2 you can remove the call to int, reducing the size to 58 bytes.
Aug 1, 2013 at 18:32 review Low quality posts
Aug 1, 2013 at 20:37
Aug 1, 2013 at 18:14 history answered Valentin CLEMENT CC BY-SA 3.0