OFFSET
0,3
COMMENTS
A function f:[n]->[n] is decomposable if for some k < n, f([k]) is contained in [k] and f([n-k]) is contained in [n-k]. For n>=1, -a(n) is the number of functions f:[n]->[n] that are not decomposable. - Geoffrey Critzer, Oct 16 2018
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..386
FORMULA
a(0) = 1; a(n) = -Sum_{k=1..n} k^k * a(n-k). - Ilya Gutkovskiy, Feb 07 2020
PROG
(PARI) N=66; x='x+O('x^N); Vec(1/sum(k=0, N, k^k*x^k))
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, Dec 19 2017
STATUS
approved