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!)
A023034 Number of compositions of n into 9 ordered relatively prime parts. 9
1, 9, 45, 165, 495, 1287, 3003, 6435, 12870, 24309, 43758, 75573, 125970, 203445, 319770, 490149, 735471, 1081080, 1562274, 2218788, 3108105, 4289133, 5852925, 7882290, 10518255, 13871286, 18156204, 23511345, 30260340, 38564262, 48902997 (list; graph; refs; listen; history; text; internal format)
OFFSET
9,2
LINKS
N. J. A. Sloane, Transforms
FORMULA
Moebius transform of C(n-1,8).
G.f.: Sum_{k>=1} mu(k) * x^(9*k) / (1 - x^k)^9. - Ilya Gutkovskiy, Feb 05 2020
MAPLE
with(numtheory):
a:= n-> add(mobius(n/d)*binomial(d-1, 8), d=divisors(n)):
seq(a(n), n=9..50); # Alois P. Heinz, Feb 05 2020
MATHEMATICA
Table[a[n], {n, 9, 45}]a[n_]:=DivisorSum[n, Binomial[#-1, 8] MoebiusMu[n/#]&]; Array[a, 37, 9] (* or *) a[n_]:=Sum[Boole[Divisible[n, k]] MoebiusMu[n/k] Binomial[k-1, 8], {k, 1, n}]; Table[a[n], {n, 9, 45}] (* Vincenzo Librandi, Feb 08 2020 *)
PROG
(Magma) [&+[MoebiusMu(n div d)*Binomial(d-1, 8):d in Divisors(n)]:n in[9..39]]; // Marius A. Burtea, Feb 07 2020
CROSSREFS
Sequence in context: A306942 A289354 A008491 * A000581 A306939 A229889
KEYWORD
nonn
AUTHOR
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 May 3 18:56 EDT 2024. Contains 372222 sequences. (Running on oeis4.)