Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function fib (count)
- local i,j=1,1
- count = count / 2
- while count do
- print (i)
- print (j)
- i = i + j
- j = i + j
- count = count - 1
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement