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 A242911 #11 Feb 28 2017 12:08:11 %S A242911 1,1,2,5,3,6,14,10,5,56,6,15,153,51,8,502,9,217,1756,25,11,7023,264, %T A242911 30,24363,1852,14,93629,15,6576,352782,40,3827,1377543,18,45,5200379, %U A242911 105812,20,20063228,21,352942,77607976,55,23,301906830,5172,185320,1166803215 %N A242911 Half the number of compositions of n into exactly two different parts with equal multiplicities. %H A242911 Alois P. Heinz, <a href="/A242911/b242911.txt">Table of n, a(n) for n = 3..1000</a> %F A242911 a(n) = 1/2 * Sum_{d|n} floor(d-1/2) * C(2*n/d,n/d). %F A242911 a(p) = (p-1)/2 for odd prime p. %F A242911 a(n) = 1/2 * (A131661(n)-A242900(n)). %e A242911 a(6) = 5 because there are 10 compositions of 6 into exactly two different parts with equal multiplicities: [1,5], [5,1], [2,4], [4,2], [1,1,2,2], [1,2,1,2], [1,2,2,1], [2,1,1,2], [2,1,2,1], [2,2,1,1]. %p A242911 a:= n-> add(iquo(d-1, 2)*binomial(2*n/d, n/d), %p A242911 d=numtheory[divisors](n))/2: %p A242911 seq(a(n), n=3..60); %t A242911 a[n_] := DivisorSum[n, Quotient[#-1, 2]*Binomial[2n/#, n/#]&]/2; Table[ a[n], {n, 3, 60}] (* _Jean-François Alcover_, Feb 28 2017, translated from Maple *) %K A242911 nonn %O A242911 3,3 %A A242911 _Alois P. Heinz_, May 26 2014