Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by karma_fountain

3 years ago

Fib(x)=0 does satisfy this property though.

2 comments

karma_fountain

Reply

karmakaze  3 years ago

A full definition would include Fib(0) = 0, Fib(1) = 1 or if you prefer 1, 1.

quickthrower2  3 years ago

You need to manually check the first 2 values in a seperate test.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities