TheSuperNoob 1608d75351
Improve collatz_sequence algorithm (#1726)
- Add more doctests and type checking to make sure only natural
  numbers are used

- Simplified the algorithm slightly
	This new verison is also between 10-15% faster for really
	long sequences
2020-02-07 02:30:08 +05:30
..
2020-01-03 22:25:36 +08:00
2019-10-05 10:14:13 +05:00
2019-10-05 10:14:13 +05:00
2019-10-21 22:36:33 +02:00
2019-10-30 00:26:28 +01:00
2019-10-29 23:54:30 +01:00
2019-10-29 23:54:30 +01:00
2019-10-05 10:14:13 +05:00
2019-10-28 13:50:36 +01:00
2019-12-11 07:57:08 +01:00
2020-01-08 14:18:17 +01:00
2019-10-22 19:13:48 +02:00
2020-01-08 14:18:17 +01:00
2020-01-18 13:24:33 +01:00
2019-10-03 16:30:36 +02:00
2020-01-18 13:24:33 +01:00