[seqfan] Re: Period lengths of k^2 mod n not in OEIS ?

David Wilson davidwwilson at comcast.net
Sat Feb 26 01:35:06 CET 2011


So a(n) = n/2 if n == 0 (mod 4); n otherwise.

Don't forget to mark this as multiplicative, with

    a(p^e) = 2^e if p = 2, e <= 1; 2^(e-1) if p = 2, e >= 2; p^e otherwise.


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1204 / Virus Database: 1435/3468 - Release Date: 02/25/11




More information about the SeqFan mailing list