Roger Hui wrote:
> 
> For tacit fans:
> 
> fib4=: ([: +/ ;@:{&(1;0 1)^:(]`0:))"0
> 
>    fib4 i. 2 10
>  0  1   1   2   3   5   8   13   21   34
> 55 89 144 233 377 610 987 1597 2584 4181
> 
> 
Roger, this and previous fibs are great.

For tacit adverbs fans:

   fib5=: ;@:{&(1;0 1)^:(+/@:)
   11 fib5 0
89

-- 
View this message in context: 
http://www.nabble.com/Silver-ratio%2C-geometrically-interpreted-tp23638554s24193p23646402.html
Sent from the J Chat mailing list archive at Nabble.com.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to