[seqfan] A165783 Formula for period of shift register stages
c.zizka at email.cz
c.zizka at email.cz
Tue Nov 24 09:13:12 CET 2009
The correct formula :
a(n)=n + digitsum ( (2^n-1)/(2*n-1) ) , digitsum in base 2.
Ctibor
> ------------ Původní zpráva ------------
> Od: Alois Heinz <heinz at hs-heilbronn.de>
> Předmět: Re: [seqfan] Re: A165783 Formula for period of shift register stages
> Datum: 23.11.2009 19:09:33
> ----------------------------------------
> c.zizka at email.cz schrieb:
> > Richard,
> >
> > the sequence is a(n)=n+digitsum((2^n)-1))/(2*n-1)). Digitsum(z) in base 2.
> >
> How can you evaluate "n+digitsum((2^n)-1))/(2*n-1))" ?
>
> It has 3 opening braces "(" and it has 5 closing braces ")".
>
> In any valid formula they should be balanced.
>
>
>
>
>
More information about the SeqFan
mailing list