Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A052582
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A052582 A simple regular expression in a labeled universe. +0
5
0, 2, 8, 36, 192, 1200, 8640, 70560, 645120, 6531840, 72576000, 878169600, 11496038400, 161902540800, 2440992153600, 39230231040000, 669529276416000, 12093372555264000, 230485453406208000 (list; graph; listen)
OFFSET

0,2

COMMENT

Total number of pairs (a_i,a_(i+1)) in all permutations on [n] such that a_i,a_(i+1) are consecutive integers. - David Callan (callan(AT)stat.wisc.edu), Nov 04 2003

Number of permutations of {1,2,...,n+2} such that there is exactly one entry between the entries 1 and 2. Example: a(2)=8 because we have 1324, 1423, 2314, 2413, 3142, 4132, 3241, and 4231. - Emeric Deutsch (deutsch(AT)duke.poly.edu), Apr 06 2008

a(n)=A138770(n+2,1). - Emeric Deutsch (deutsch(AT)duke.poly.edu), Apr 06 2008

LINKS

INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 526

FORMULA

E.g.f.: 2*x/(-1+x)^2

Recurrence: {a(0)=0, a(1)=2, (-n^2-2*n-1)*a(n)+a(n+1)*n}

2*n*n!

MAPLE

spec := [S, {S=Prod(Sequence(Z), Sequence(Z), Union(Z, Z))}, labeled]: seq(combstruct[count](spec, size=n), n=0..20);

CROSSREFS

Cf. A138770.

Sequence in context: A081958 A001540 A129044 this_sequence A020021 A052618 A055142

Adjacent sequences: A052579 A052580 A052581 this_sequence A052583 A052584 A052585

KEYWORD

easy,nonn

AUTHOR

encyclopedia(AT)pommard.inria.fr, Jan 25 2000

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 July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research