cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A284581 a(n) = n minus (carryless base-2 product of run lengths in binary representation of n) = n - A284579(n).

This page as a plain text file.
%I A284581 #9 Apr 15 2017 09:17:57
%S A284581 0,1,1,2,4,4,4,5,7,9,9,8,11,11,11,12,14,16,15,18,20,20,20,18,21,24,23,
%T A284581 22,26,26,26,27,29,31,29,32,35,34,33,37,39,41,41,40,43,43,43,40,43,46,
%U A284581 43,48,51,50,49,51,51,55,53,52,57,57,57,58,60,62,59,62,66,64,66,66,69,72,71,68,73,72,71,76,78,80,79,82,84,84,84,82,85,88,87,86
%N A284581 a(n) = n minus (carryless base-2 product of run lengths in binary representation of n) = n - A284579(n).
%H A284581 Antti Karttunen, <a href="/A284581/b284581.txt">Table of n, a(n) for n = 1..10922</a>
%H A284581 <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a>
%F A284581 a(n) = n - A284579(n).
%o A284581 (Scheme) (define (A284581 n) (- n (A284579 n)))
%Y A284581 Cf. A048720, A284579.
%Y A284581 Cf. A227190, A284560, A283972 for similar sequences.
%Y A284581 Differs from A227190 for the first time at n=56, where a(56)=51, while A227190(56)=47.
%K A284581 nonn,base
%O A284581 1,4
%A A284581 _Antti Karttunen_, Apr 14 2017