Zeroclickinfo-goodies: Fibonacci: Support assertion queries

Created on 16 May 2016  路  6Comments  路  Source: duckduckgo/zeroclickinfo-goodies

It'd be great if we could do is X a fibonacci number?, is X in the fibonacci sequence?.

See #3068 - but in summary there is the Math::NumSeq::Fibonacci package that can do this already.

/cc @mintsoft


IA Page: http://duck.co/ia/view/fibonacci
Maintainer: @koosha--

Maintainer Approved Suggestion Triggering

Most helpful comment

Is this (and the associated) issue open to work on? Newbie here looking to help out, looks like this would be a good one to get my feet wet.

All 6 comments

It's OK to implement this, but, I think we should be wary of performance issues with large numbers.

@koosha-- It's seems fine up to approx. 10^22 before I can notice anything - you might want to have a cap though.

Is this (and the associated) issue open to work on? Newbie here looking to help out, looks like this would be a good one to get my feet wet.

@shellhead Indeed it is! We'd be delighted if you take this up. We'd ask you to open a PR as soon you start work on it so we "know" that you're doing it and we can avoid repeated work.

@shellhead sounds great, Michael! Let me know if you need any help

Implemented in #3215.

Was this page helpful?
0 / 5 - 0 ratings