Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A060351
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A060351 If the binary expansion of n has k bits, then let S be the subset of [k-1] such that i in S if the i-th bit of n is a 1 (with the first bit being the 0-th bit); a(n) is the number of permutations of [k] with descent set S. +0
6
1, 1, 1, 1, 2, 2, 1, 1, 3, 5, 3, 3, 5, 3, 1, 1, 4, 9, 6, 9, 16, 11, 4, 4, 11, 16, 9, 6, 9, 4, 1, 1, 5, 14, 10, 19, 35, 26, 10, 14, 40, 61, 35, 26, 40, 19, 5, 5, 19, 40, 26, 35, 61, 40, 14, 10, 26, 35, 19, 10, 14, 5, 1, 1 (list; graph; listen)
OFFSET

1,5

COMMENT

a(n) is the number of permutations in the symmetric group S_k such that n = 2^(k-1) + the sum of 2^(i-1) where i is a descent of the permutation and k= number of digits in the binary expansion of n.

If n=4m then a(n)-a(n+1)+a(n+2)-a(n+3)=0. This follows from Theorem 10 of my paper arXiv.org/abs/0801.0072v1. E.g. a(20)-a(21)+a(22)-a(23)= 9-16+11-4=0. - Vladimir Shevelev (shevelev(AT)bgu.ac.il), Jan 07 2008

MAPLE

ct := proc(k) option remember; local i, out, n; if k=0 then RETURN(1); fi; n := floor(evalf(log[2](k)))+1; if k=2^n or k=2^(n+1)-1 then RETURN(1); fi; out := 0; for i from 1 to n do if irem(iquo(k, 2^(i-1)), 2) = 1 and irem(iquo(2*k, 2^(i-1)), 2) =0 then out := out+(n-1)!/(i-1)!/(n-i)!* ct(floor(irem(k, 2^(i-1))+2^(i-2)))*ct(iquo(k, 2^i)); fi; od; out; end: seq(ct(i), i=1..64)

CROSSREFS

Cf. A060350.

Sequence in context: A076835 A034254 A135966 this_sequence A076037 A076263 A008302

Adjacent sequences: A060348 A060349 A060350 this_sequence A060352 A060353 A060354

KEYWORD

easy,nonn

AUTHOR

Mike Zabrocki (zabrocki(AT)mathstat.yorku.ca), Mar 31 2001

EXTENSIONS

Definition corrected by Julian Gilbey, Jul 26 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified August 29 17:54 EDT 2008. Contains 143238 sequences.


AT&T Labs Research