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 A271841 #11 May 27 2018 06:50:41 %S A271841 1,1,6,61,891,17081,404275,11364373,368982178,13564841773, %T A271841 556179920807,25136678260282,1240530238800284,66339010440041817, %U A271841 3819462133549622416,235473674234358044731,15472450628591543437233,1079168872840695090981865,79613621745613390178188361 %N A271841 Number of set partitions of [2n] having exactly n pairs (m,m+1) such that m is in some block b and m+1 is in block b+1. %H A271841 Alois P. Heinz, <a href="/A271841/b271841.txt">Table of n, a(n) for n = 0..100</a> %H A271841 Wikipedia, <a href="https://en.wikipedia.org/wiki/Partition_of_a_set">Partition of a set</a> %F A271841 a(n) = A185982(2n,n). %p A271841 b:= proc(n, i, m, k) option remember; `if`(k>n, 0, `if`(n=0, 1, %p A271841 add(`if`(j=i+1 and k=0, 0, b(n-1, j, max(m, j), k- %p A271841 `if`(j=i+1, 1, 0))), j=1..m+1))) %p A271841 end: %p A271841 a:= n-> b(2*n, 1, 0, n): %p A271841 seq(a(n), n=0..18); %t A271841 b[n_, i_, m_, k_] := b[n, i, m, k] = If[k > n, 0, If[n == 0, 1, Sum[If[j == i + 1 && k == 0, 0, b[n - 1, j, Max[m, j], k - If[j == i + 1, 1, 0]]], {j, 1, m + 1}]]]; %t A271841 a[n_] := b[2*n, 1, 0, n]; %t A271841 Table[a[n], {n, 0, 18}] (* _Jean-François Alcover_, May 27 2018, translated from Maple *) %Y A271841 Cf. A185982. %K A271841 nonn %O A271841 0,3 %A A271841 _Alois P. Heinz_, Apr 15 2016