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.

A242840 Number of compositions of n with difference -1 between the number of odd parts and the number of even parts, both counted without multiplicity.

This page as a plain text file.
%I A242840 #5 May 24 2014 18:27:21
%S A242840 1,0,2,0,2,6,15,44,74,202,351,766,1301,2626,4677,8993,16466,31671,
%T A242840 60266,116751,229180,452667,905627,1815394,3673666,7429123,15109955,
%U A242840 30696510,62512866,127140993,258745131,525845884,1068309682,2167462318,4393853912,8896007640
%N A242840 Number of compositions of n with difference -1 between the number of odd parts and the number of even parts, both counted without multiplicity.
%H A242840 Alois P. Heinz, <a href="/A242840/b242840.txt">Table of n, a(n) for n = 2..500</a>
%e A242840 a(2) = 1: [2].
%e A242840 a(4) = 2: [2,2], [4].
%e A242840 a(6) = 2: [2,2,2], [6].
%e A242840 a(7) = 6: [1,2,4], [1,4,2], [2,1,4], [2,4,1], [4,1,2], [4,2,1].
%e A242840 a(8) = 15: [2,2,2,2], [1,1,2,4], [1,1,4,2], [1,2,1,4], [1,2,4,1], [1,4,1,2], [1,4,2,1], [2,1,1,4], [2,1,4,1], [2,4,1,1], [4,1,1,2], [4,1,2,1], [4,2,1,1], [4,4], [8].
%Y A242840 Column k=-1 of A242626.
%K A242840 nonn
%O A242840 2,3
%A A242840 _Alois P. Heinz_, May 23 2014