![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
beware, the solution
val limit = 500000000000L ((Stream.iterate((1L, 1L)) (p => (3*p._1 + 4*p._2, 3*p._2+2*p._1)) dropWhile(_._1 < limit) head)._2 + 1)/2
no subject
Date: 2011-10-23 04:19 am (UTC)no subject
Date: 2011-10-23 04:29 am (UTC)