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.
%I A124759 #5 Jul 24 2013 18:56:28 %S A124759 0,0,0,1,0,2,2,2,0,3,4,3,3,4,3,3,0,4,6,4,6,6,4,4,4,6,6,5,4,5,4,4,0,5, %T A124759 8,5,9,8,5,5,8,9,8,7,5,6,5,5,5,8,9,7,8,8,6,6,5,7,7,6,5,6,5,5,0,6,10,6, %U A124759 12,10,6,6,12,12,10,9,6,7,6,6,10,12,12,10,10,10,8,8,6,8,8,7,6,7,6,6,6,10 %N A124759 Sum of products of consecutive terms for compositions in standard order. %C A124759 The standard order of compositions is given by A066099. %H A124759 Alois P. Heinz, <a href="/A124759/b124759.txt">Rows n = 0..14, flattened</a> %F A124759 For a composition b(1),...,b(k), a(n) = Sum_{i=1}^{k-1} b(i) b(i+1). %e A124759 Composition number 11 is 2,1,1; 2*1+1*1 = 3, so a(11) = 3. %e A124759 The table starts: %e A124759 0 %e A124759 0 %e A124759 0 1 %e A124759 0 2 2 2 %Y A124759 Cf. A066099, A070939, A011782 (row lengths), A045618 (row sums). %K A124759 easy,nonn,tabf %O A124759 0,6 %A A124759 _Franklin T. Adams-Watters_, Nov 06 2006