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.

A272604 Maximum subrange sum over n written out in binary with -1 for each zero (cf. A276691).

This page as a plain text file.
%I A272604 #7 Sep 14 2016 07:09:07
%S A272604 0,1,1,2,1,1,2,3,1,1,1,2,2,2,3,4,1,1,1,2,1,1,2,3,2,2,2,3,3,3,4,5,1,1,
%T A272604 1,2,1,1,2,3,1,1,1,2,2,2,3,4,2,2,2,2,2,2,3,4,3,3,3,4,4,4,5,6,1,1,1,2,
%U A272604 1,1,2,3,1,1,1,2,2,2,3,4,1,1,1,2,1,1,2,3,2,2,2,3,3,3,4,5,2,2,2,2,2,2,2,3,2,2,2,3,3,3,4,5,3,3,3,3,3,3,4,5,4,4,4,5
%N A272604 Maximum subrange sum over n written out in binary with -1 for each zero (cf. A276691).
%H A272604 Joerg Arndt, <a href="/A272604/b272604.txt">Table of n, a(n) for n = 0..8191</a>
%F A272604 A276691(n) = sum(k=1..2^n-1, a(n)).
%e A272604    n [ binary n ]   a(n)
%e A272604    0 [ - - - - - ]   0
%e A272604    1 [ - - - - + ]   1
%e A272604    2 [ - - - + - ]   1
%e A272604    3 [ - - - + + ]   2
%e A272604    4 [ - - + - - ]   1
%e A272604    5 [ - - + - + ]   1
%e A272604    6 [ - - + + - ]   2
%e A272604    7 [ - - + + + ]   3
%e A272604    8 [ - + - - - ]   1
%e A272604    9 [ - + - - + ]   1
%e A272604   10 [ - + - + - ]   1
%e A272604   11 [ - + - + + ]   2
%e A272604   12 [ - + + - - ]   2
%e A272604   13 [ - + + - + ]   2
%e A272604   14 [ - + + + - ]   3
%e A272604   15 [ - + + + + ]   4
%e A272604   16 [ + - - - - ]   1
%e A272604   17 [ + - - - + ]   1
%e A272604   18 [ + - - + - ]   1
%e A272604   19 [ + - - + + ]   2
%e A272604   20 [ + - + - - ]   1
%e A272604   21 [ + - + - + ]   1
%e A272604   22 [ + - + + - ]   2
%e A272604   23 [ + - + + + ]   3
%e A272604   24 [ + + - - - ]   2
%e A272604   25 [ + + - - + ]   2
%e A272604   26 [ + + - + - ]   2
%e A272604   27 [ + + - + + ]   3
%e A272604   28 [ + + + - - ]   3
%e A272604   29 [ + + + - + ]   3
%e A272604   30 [ + + + + - ]   4
%e A272604   31 [ + + + + + ]   5
%Y A272604 Cf. A276691.
%K A272604 nonn
%O A272604 0,4
%A A272604 _Joerg Arndt_, Sep 14 2016