OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..28
MAPLE
b:= proc(n) option remember; `if`(n=0, 1, (h-> [1, h[1], seq(
[h[i-1]+h[i], h[i]][], i=2..nops(h)), 1][])([b(n-1)]))
end:
a:= proc(n) option remember; add(i^n, i=[b(n)]) end:
seq(a(n), n=0..15);
MATHEMATICA
nmax = 15;
T = Nest[Append[#, Flatten@Join[{1}, If[Length@# > 1, Map[{#1, #1 + #2}& @@ #&, Partition[#[[-1]], 2, 1]], {}], {#[[-1, -1]]}, {1}]]&, {{1}}, nmax];
a[n_] := T[[n+1]]^n // Total;
Table[a[n], {n, 0, nmax}] (* Jean-François Alcover, May 30 2022, after Michael De Vlieger in A337277 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Nov 19 2020
STATUS
approved