Advertisement
Revolucent

Fibonacci

Apr 22nd, 2015
3,457
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
J 0.08 KB | None | 0 0
  1. NB. Calculates the first 20 Fibonacci numbers in J:
  2.  
  3. (, +/@(_2&{.))^:(20 - #) 0 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement