# [seqfan] Re: A272717 question

Lars Blomberg larsl.blomberg at comhem.se
Tue Aug 9 17:51:41 CEST 2016

```Neil,

I will fix it.

/Lars B

-----Ursprungligt meddelande-----
Från: SeqFan [mailto:seqfan-bounces at list.seqfan.eu] För Neil Sloane
Skickat: den 9 augusti 2016 14:49
Till: Sequence Fanatics Discussion list <seqfan at list.seqfan.eu>
Ämne: [seqfan] Re: A272717 question

Lars, Thanks for noticing this problem. I agree that something is wrong, and your solution looks like the best (keep the leading zeros).
Can you do the necessary editing?

Best regards
Neil

Neil J. A. Sloane, President, OEIS Foundation.
11 South Adelaide Avenue, Highland Park, NJ 08904, USA.
Also Visiting Scientist, Math. Dept., Rutgers University, Piscataway, NJ.
Email: njasloane at gmail.com

On Tue, Aug 9, 2016 at 1:56 AM, Lars Blomberg <larsl.blomberg at comhem.se>
wrote:

>
>
> Hello,
>
>
>
> The sequence starts (giving the binary and decimal values):
>
> 1(1) -> 11(3) -> 01(1) -> 1011(11) -- this shows that leading 0's are
> to be kept.
>
> -> 111001(57) -> 110011(51) -> 010001(17) -> 111011(59)
>
> Here it seems that the leading 0 is being discarded, we should have
> 10111011(187)
>
> -> 111001(57) -> 110011(51) -> 010001(17) -> 10111011(187)
>
> Here the leading 0 in 010001 is kept.
>
>
>
> So it seems to me that leading 0's should be kept, and the sequence
> should start
>
> 1, 3, 1, 11, 57, 51, 17, 187, 953, 947, 913, 827, 313, 2867, 14609, ...
>
>
> 1, 3, 1, 3, 1, 3, 1, 3, ...
>
>
>
> /Lars Blomberg
>
>
> --
> Seqfan Mailing list - http://list.seqfan.eu/
>

--
Seqfan Mailing list - http://list.seqfan.eu/

```