|
|
A165163
|
|
Sequence is obtained from Catalan numbers (A000108) by taking the factorial of each digit and adding them up.
|
|
0
|
|
|
1, 1, 2, 120, 25, 26, 9, 362906, 32, 41066, 369361, 86520, 40327, 367948, 5835, 766968, 11053, 731572, 56192, 374411, 1615, 7256, 404818, 364605, 771205, 404861, 51385, 727600, 379721, 42643, 807308, 1091011, 495081, 807, 777014, 772751, 1578665, 410061, 108045
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
The primes in this sequence are 2, 369361, 379721, 42643, 1008859, 1505873, 2388293, 3289723, .... [Extended by Robert G. Wilson v, Sep 30 2009]
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
The sum of the factorials of each digit of 9694845 = 9! + 6! + 9! + 4! + 8! + 4! + 5! = 766968.
|
|
MAPLE
|
a:= n-> add(i!, i=convert(binomial(2*n, n)/(n+1), base, 10)):
|
|
MATHEMATICA
|
f[n_] := Plus @@ (IntegerDigits@ n!); Table[f@ CatalanNumber@ n, {n, 0, 35}] (* Robert G. Wilson v, Sep 30 2009 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|