On Fri, Jan 20, 2012 at 9:56 AM, Santanu Sarkar
<sarkar.santanu....@gmail.com> wrote:
> I have a sequence of 0 and 1. I know that period is small. Is there
> any function in Sage by which
> I can find the period? Or, can we find the period efficiently?
> For example {0,1,0,1,0,1} has period of length 2.

Try
http://www.sagemath.org/doc/reference/sage/matrix/berlekamp_massey.html
or
http://www.sagemath.org/doc/reference/sage/crypto/lfsr.html

>
> --
> To post to this group, send email to sage-support@googlegroups.com
> To unsubscribe from this group, send email to 
> sage-support+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to