OFFSET
0,3
COMMENTS
Greater than A003238 because there exists also parenthesizations like ((() (())) ((()) ())) and (((()) ()) (() (()))) which are fixed by recursive deep rotation, corresponding to Catalan mountain ranges below:
...../\..../\............................./\......../\
../\/__\../__\/\.....and.its."dual"....../__\/\../\/__\
./______\/______\......................./______\/______\
It's obvious that a(p) = a(p-1)+1 for all primes p.
FORMULA
MAPLE
with(numtheory, divisors); A057546 := proc(n) local d; if(0=n) then RETURN(1); else RETURN(add(A079216bi(d-1, n/d), d=divisors(n))); fi; end;
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 07 2000
STATUS
approved