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 A111723 #20 Mar 25 2021 10:21:22 %S A111723 1,0,4,4,31,86,449,1968,10420,56582,333235,2069772,13606113,94065232, %T A111723 682242552,5175100432,40954340995,337362555010,2886922399649, %U A111723 25616738519384,235313456176512,2234350827008170,21899832049913999,221292603495494488,2302631998398438321 %N A111723 Number of partitions of an n-set with an odd number of blocks of size 1. %H A111723 Alois P. Heinz, <a href="/A111723/b111723.txt">Table of n, a(n) for n = 1..576</a> %F A111723 E.g.f.: sinh(x)*exp(exp(x)-1-x). %F A111723 More generally, e.g.f. for number of partitions of an n-set with an odd number of blocks of size k is sinh(x^k/k!)*exp(exp(x)-1-x^k/k!). %p A111723 b:= proc(n, t) option remember; `if`(n=0, t, add(b(n-j, %p A111723 `if`(j=1, 1-t, t))*binomial(n-1, j-1), j=1..n)) %p A111723 end: %p A111723 a:= n-> b(n, 0): %p A111723 seq(a(n), n=1..30); # _Alois P. Heinz_, May 10 2016 %t A111723 Rest[ Range[0, 23]! CoefficientList[ Series[ Sinh[x]Exp[Exp[x] - 1 - x], {x, 0, 23}], x]] (* _Robert G. Wilson v_ *) %o A111723 (Python) %o A111723 from sympy.core.cache import cacheit %o A111723 from sympy import binomial %o A111723 @cacheit %o A111723 def b(n, t): %o A111723 return t if n==0 else sum(b(n - j, (1 - t if j==1 else t))*binomial(n - 1, j - 1) for j in range(1, n + 1)) %o A111723 def a(n): %o A111723 return b(n, 0) %o A111723 print([a(n) for n in range(1, 51)]) # _Indranil Ghosh_, Aug 10 2017 %Y A111723 Cf. A097514, A113235, A063083, A062282, A111724, A111752, A111753. %K A111723 easy,nonn %O A111723 1,3 %A A111723 _Vladeta Jovovic_, Nov 17 2005 %E A111723 More terms from _Robert G. Wilson v_, Nov 22 2005