#11802: Generation of Lucas sequences modulo an integer
-------------------------------------------------+-------------------------
Reporter: somindu | Owner:
Type: enhancement | AlexGhitza
Priority: minor | Status:
Component: basic arithmetic | needs_work
Keywords: Lucas sequence ecc2011 | Milestone: sage-6.1
Authors: Somindu Chaya Ramanna, | Resolution:
Shashank Singh, Srinivas Vivek Venkatesh | Merged in:
Report Upstream: N/A | Reviewers:
Branch: | Work issues:
Dependencies: | Commit:
| Stopgaps:
-------------------------------------------------+-------------------------
Comment (by ncohen):
Well I know absolutely nothing about Lucas number, so I do not know how
useful this is when `Q=1` `O_o`
This being said, it looks like there are two `lucas_*` functions in
combinat
{{{
}}}
And all lucas functions should probably be linked toward each other (with
`.. seealso::` sections) if not implemented at the same place. If they do
not do the same job already.
Perhaps it would even be better to change the current `lucas_*` functions
so that one can compute the numbers themselves, or modulo something
depending on the input.
Then again, having `slow_lucas`, `fast_lucas` and `lucas` definitely looks
too much. Couldn't all three implementations be available in the same
function ? With a flag to decide which one should be used ? All the code
could be in the same function by the way..
And well. Given that this code is 2yo, perhaps an email should be sent to
sage-devel to find guys who know what this code does and review it. 2years
is a long time `^^;`
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/11802#comment:8>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.