solutions1/collatz.scala
changeset 336 25d9c3b2bc99
parent 335 7e00d2b13b04
--- a/solutions1/collatz.scala	Wed Aug 12 00:56:20 2020 +0100
+++ b/solutions1/collatz.scala	Sun Aug 23 14:39:58 2020 +0100
@@ -41,7 +41,8 @@
       last_odd(3 * n + 1)
 
 
-//for (i <- 1 to 130) println(s"$i: ${last_odd(i)}")
+//for (i <- 130 to 10000) println(s"$i: ${last_odd(i)}")
+for (i <- 1 to 100) println(s"$i: ${collatz(i)}")
 
 }