OFFSET
0,4
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..200
FORMULA
a(n) = A305004(n) - 1 for n > 0. - Andrew Howroyd, Aug 27 2018
EXAMPLE
The a(3) = 7 hypertrees are the following:
{{1,2}}
{{1,3}}
{{2,3}}
{{1,2,3}}
{{1,2},{1,3}}
{{1,2},{2,3}}
{{1,3},{2,3}}
PROG
(PARI) \\ here b(n) is A030019 with b(1)=0.
b(n)=if(n<2, n==0, sum(i=0, n, stirling(n-1, i, 2)*n^(i-1)));
a(n)=if(n<1, n==0, sum(k=1, n, binomial(n, k)*b(k))); \\ Andrew Howroyd, Aug 27 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, May 21 2018
STATUS
approved