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.

A074272 Partial alternating sums of the Kolakoski sequence A000002.

This page as a plain text file.
%I A074272 #10 Mar 31 2012 13:21:54
%S A074272 1,-1,1,0,1,-1,0,-2,0,-1,1,-1,0,-1,1,0,1,-1,1,0,2,1,2,0,1,-1,1,0,1,-1,
%T A074272 0,-1,1,0,2,0,1,-1,1,0,1,-1,0,-2,0,-1,1,0,1,-1,0,-1,1,-1,0,-2,0,-1,0,
%U A074272 -2,-1,-3,-1,-2,0,-2,-1,-2,0,-1,0,-2,-1,-3,-1,-2,0
%N A074272 Partial alternating sums of the Kolakoski sequence A000002.
%H A074272 Nathaniel Johnston, <a href="/A074272/b074272.txt">Table of n, a(n) for n = 1..10000</a>
%e A074272 Kolakoski: 1,2,2,1,1,2,1,2,2,1,2,2,1,1,... We look at 1-2+2-1+1-2+1-2+2 and this gives 1,-1,1,0,1,-1,0,-2,0
%Y A074272 Cf. A054353.
%K A074272 sign,easy
%O A074272 1,8
%A A074272 _Jon Perry_, Sep 21 2002