Hacker News new | ask | show | jobs
by quadrature 4130 days ago
With all due respect, its fibonacci. Even if you aren't thinking recursively it is simply adding the last two numbers you've seen and it demonstrates that you can use iteration and variables at the very least.