Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A033305
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A033305 Number of permutations (p1,...,pn) such that 1<=|pk-k|<=2 for all k. +0
1
1, 0, 1, 2, 4, 6, 13, 24, 45, 84, 160, 300, 565, 1064, 2005, 3774, 7108, 13386, 25209, 47472, 89401, 168360, 317056, 597080, 1124425, 2117520, 3987721, 7509690, 14142276, 26632782, 50154949, 94451976, 177872293 (list; graph; listen)
OFFSET

0,4

REFERENCES

Lehmer, D. H.; Permutations with strongly restricted displacements. Combinatorial theory and its applications, II (Proc. Colloq., Balatonfured, 1969), pp. 755-770. North-Holland, Amsterdam, 1970.

R. P. Stanley, Enumerative Combinatorics I, p. 252, Example 4.7.16.

FORMULA

G.f.: (1-x)/(1-x-x^2-x^3-x^4+x^5).

a(n) = a(n-1) + a(n-2) + a(n-3) + a(n-4) - a(n-5)

CROSSREFS

Sequence in context: A058598 A087549 A109078 this_sequence A105543 A027712 A138307

Adjacent sequences: A033302 A033303 A033304 this_sequence A033306 A033307 A033308

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

EXTENSIONS

New description from Max Alekseyev (maxale(AT)gmail.com), Jul 09 2006

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 December 5 20:25 EST 2009. Contains 170428 sequences.


AT&T Labs Research