OFFSET
0,3
COMMENTS
a(n) is divisible by n for all n >= 1.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..445
MATHEMATICA
a[n_]:= a[n] = If[n==0, 1, Sum[Binomial[n, k] GCD[n, k] a[k-1], {k, n}]];
Table[a@n, {n, 0, 30}] (* Robert G. Wilson v, May 27 2009 *)
PROG
(SageMath)
@CachedFunction # a = A159666
def a(n): return 1 if (n==0) else sum(binomial(n, j)*gcd(n, j)*a(j-1) for j in range(1, n+1))
[a(n) for n in range(40)] # G. C. Greubel, Sep 26 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Apr 19 2009
EXTENSIONS
More terms from Robert G. Wilson v, May 27 2009
STATUS
approved