OFFSET
1,2
COMMENTS
Old name was: From expansion of falling factorials.
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
E. G. Whitehead, Jr., Stirling number identities from chromatic polynomials, J. Combin. Theory, A 24 (1978), 314-317.
FORMULA
a(n) = Sum_{i=1..n} b(n, i) where b(n, 1) = n and b(n+1, i+1) = (n-i) * b(n, i) + b(n+1, i) [From Whitehead]. - Sean A. Irvine, Jul 01 2016
From Alois P. Heinz, Jan 05 2022: (Start)
a(n) = Sum_{k=0..n-1} A108087(n-k,k).
a(n) = A347420(n) - 1.
a(n) mod 2 = n mod 2 = A000035(n). (End)
EXAMPLE
a(3) = 13 = 5 + 5 + 3: 123, 12|3, 13|2, 1|23, 1|2|3, 1'23, 1'2|3, 1'3|2, 1'|23, 1'|2|3, 1'3|2', 1'|2'3, 1'|2'|3.
MAPLE
b:= proc(n, m) option remember;
`if`(n=0, 1, b(n-1, m+1)+m*b(n-1, m))
end:
a:= n-> add(b(n-k, k), k=0..n-1):
seq(a(n), n=1..24); # Alois P. Heinz, Jan 05 2022
MATHEMATICA
b[n_, m_] := b[n, m] = If[n == 0, 1, b[n - 1, m + 1] + m*b[n - 1, m]];
a[n_] := Sum[b[n - k, k], {k, 0, n - 1}];
Table[a[n], {n, 1, 24}] (* Jean-François Alcover, Apr 24 2022, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Sean A. Irvine, Jul 01 2016
New name from Alois P. Heinz, Jan 07 2022
STATUS
approved