diff -r 3db70bdce7a4 -r 44a20e85dd38 progs/lecture2.scala --- a/progs/lecture2.scala Wed Jan 11 14:41:32 2017 +0000 +++ b/progs/lecture2.scala Wed Jan 11 14:42:46 2017 +0000 @@ -348,6 +348,8 @@ // a student showed me... import scala.collection.mutable.ListBuffer + + def collatz_max(bnd: Long): (Long, Long) = { val colNos = ListBuffer[(Long, Long)]() for (i <- (1L to bnd).toList) colNos += ((collatz(i), i))