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!)
A053727 Triangle T(n,k) = Sum_{d|gcd(n,k)} mu(d)*C(n/d,k/d) (n >= 1, 1 <= k <= n). 2
1, 2, 0, 3, 3, 0, 4, 4, 4, 0, 5, 10, 10, 5, 0, 6, 12, 18, 12, 6, 0, 7, 21, 35, 35, 21, 7, 0, 8, 24, 56, 64, 56, 24, 8, 0, 9, 36, 81, 126, 126, 81, 36, 9, 0, 10, 40, 120, 200, 250, 200, 120, 40, 10, 0, 11, 55, 165, 330, 462, 462, 330, 165, 55, 11, 0, 12, 60 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Triangle of number of primitive words over {0,1} of length n that contain k 1's, for n,k >= 1. - Benoit Cloitre, Jun 08 2004
REFERENCES
J.-P. Allouche and J. Shallit, Automatic sequences, Cambridge University Press, 2003, p. 29.
LINKS
EXAMPLE
Triangle begins
1;
2, 0;
3, 3, 0;
4, 4, 4, 0;
5, 10, 10, 5, 0;
6, 12, 18, 12, 6, 0;
...
MATHEMATICA
T[n_, k_] := DivisorSum[GCD[k, n], MoebiusMu[#] Binomial[n/#, k/#] &]; Table[T[n, k], {n, 1, 12}, {k, 1, n}] // Flatten (* Jean-François Alcover, Dec 02 2015 *)
PROG
(PARI) T(n, k)=sumdiv(gcd(k, n), d, moebius(d)*binomial(n/d, k/d)) \\ Benoit Cloitre, Jun 08 2004
CROSSREFS
Cf. A042979, A042980. T(2n, n), T(2n+1, n) match A007727, A001700, respectively. Row sums match A027375.
Same triangle as A050186 except this one does not include column 0.
Sequence in context: A127449 A328911 A138057 * A265208 A265020 A325191
KEYWORD
nonn,tabl
AUTHOR
N. J. A. Sloane, Mar 24 2000
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 April 24 18:17 EDT 2024. Contains 371962 sequences. (Running on oeis4.)