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.

A369900 a(n) is twice the sum of the first n binary digits of e minus n.

This page as a plain text file.
%I A369900 #16 Feb 05 2024 07:28:53
%S A369900 0,1,0,1,0,1,2,1,2,3,4,5,6,7,6,5,4,3,4,3,4,3,4,3,2,1,2,1,2,3,2,1,0,1,
%T A369900 0,1,0,-1,-2,-1,-2,-1,-2,-1,0,1,0,1,2,1,2,1,0,1,0,1,0,1,0,-1,0,1,0,1,
%U A369900 0,1,0,1,0,1,2,3,4,5,6,5,6,7,8,7,6,5,6,5,6
%N A369900 a(n) is twice the sum of the first n binary digits of e minus n.
%C A369900 Partial differences give A004593, when -1 is replaced by 0.
%H A369900 Alois P. Heinz, <a href="/A369900/b369900.txt">Table of n, a(n) for n = 0..20000</a>
%F A369900 a(0) = 0, a(n) = a(n-1) + 2*A004593(n+1) - 1 for n>=1.
%Y A369900 Cf. A001113, A004593, A166006.
%K A369900 sign,look,base
%O A369900 0,7
%A A369900 _Alois P. Heinz_, Feb 05 2024