The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A106520 a(n) = A068875(n-1) - A003239(n). 1
1, 0, 0, 0, 2, 4, 18, 48, 156, 472, 1526, 4852, 16000, 52940, 178276, 605520, 2079862, 7201084, 25138878, 88358520, 312576996, 1112087012, 3977502766, 14294093652, 51596165872, 186997738504, 680272334202, 2483340387644, 9094756956908 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
COMMENTS
This is the multiplicity of the trivial module in a sequence of modules of dimension (2*n-2)!/n! over the symmetric groups S_n, induced from modules of dimension (2*n-2)!/(n!*(n-1)!) (Catalan) over the cyclic groups C_n.
LINKS
F. Chapoton, On some anticyclic operads, Algebraic and Geometric Topology 5 (2005), paper no. 4, pages 53-69.
FORMULA
a(n) = (2/n) * binomial(2*n-2, n-1) - 1/(2*n) * Sum_{d divides n} phi(d) * binomial(2*n/d, n/d) ).
a(n) = 2*A000108(n-1) - (1/(2*n))*Sum_{d divides n} (n/d + 1)*A000108(n/d) * A000010(d). - G. C. Greubel, Aug 06 2021
MAPLE
with(numtheory);
a:= proc(n) (2/n)*binomial(2*n-2, n-1) - (1/(2*n))*add(phi(d)*binomial(2*n/d, n/d), d = divisors(n)) end:
seq(a(n), n = 1..40);
MATHEMATICA
a[n_]:= 2/n*Binomial[2*n-2, n-1] - 1/(2*n)*DivisorSum[n, EulerPhi[#]* Binomial[2*n/#, n/#]&]; Table[a[n], {n, 40}] (* Jean-François Alcover, Feb 20 2017 *)
PROG
(Magma)
A106520:= func< n | 2*Catalan(n-1) - (1/(2*n))*(&+[Round(Gamma(2*n/d +1)/Gamma(n/d +1)^2)*EulerPhi(d): d in Divisors(n)]) >;
[A106520(n): n in [1..40]]; // G. C. Greubel, Aug 06 2021
(Sage)
def a(n): return 2*catalan_number(n-1) - (1/(2*n))*sum(euler_phi(n/d)*binomial(2*d, d) for d in divisors(n))
[a(n) for n in (1..40)] # G. C. Greubel, Aug 06 2021
(PARI) a(n) = (2/n) * binomial(2*n-2, n-1) - 1/(2*n) * sumdiv(n, d, eulerphi(d) * binomial(2*n/d, n/d)); \\ Michel Marcus, Aug 08 2021
CROSSREFS
Sequence in context: A240316 A151449 A045664 * A301802 A318249 A093045
KEYWORD
nonn
AUTHOR
F. Chapoton, May 30 2005
EXTENSIONS
Terms a(1) to a(4) prepended by G. C. Greubel, Aug 06 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 11 15:53 EDT 2024. Contains 373315 sequences. (Running on oeis4.)