Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A079984
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A079984 Number of permutations satisfying -k<=p(i)-i<=r and p(i)-i not in I, i=1..n, with k=3, r=3, I={-1,1,2}. +0
1
1, 1, 1, 1, 2, 5, 10, 16, 26, 43, 80, 148, 264, 465, 816, 1444, 2588, 4619, 8214, 14591, 25903, 46071, 82015, 145904, 259492, 461408, 820468, 1459332, 2595687, 4616613, 8210719, 14602409, 25970414, 46189613, 82149988, 146106304, 259853016 (list; graph; listen)
OFFSET

0,5

COMMENT

Also, number of permutations satisfying -k<=p(i)-i<=r and p(i)-i not in I, i=1..n, with k=3, r=3, I={-2,-1,1}.

REFERENCES

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

FORMULA

Recurrence: a(n) = a(n-1)+a(n-2)+a(n-3)-a(n-4)+a(n-5)+3*a(n-6)-4*a(n-7)-4*a(n-8)-2*a(n-9)+4*a(n-10)+2*a(n-11)-4*a(n-12)+4*a(n-13)+3*a(n-14)-a(n-15)-a(n-16)-a(n-17)+a(n-18)-a(n-19)-a(n-20) G.f.: -(x^14-x^12+2*x^11-x^9-x^8+x^6-x^5+2*x^3+x^2-1)/((x^19-x^17+2*x^16-x^15+2*x^14-5*x^13+x^12+3*x^11-5*x^10+x^9+x^8+3*x^7+x^6-4*x^5+3*x^4-2*x^3+x^2-2*x+1)*(x+1))

CROSSREFS

Cf. A002524-A002529, A072827, A072850-A072856, A079955-A080014.

Sequence in context: A078435 A049815 A047992 this_sequence A027613 A067112 A101306

Adjacent sequences: A079981 A079982 A079983 this_sequence A079985 A079986 A079987

KEYWORD

nonn

AUTHOR

Vladimir Baltic (baltic(AT)matf.bg.ac.yu), Feb 17 2003

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 November 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research