Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A052612
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A052612 A simple regular expression in a labeled universe. +0
2
0, 2, 2, 12, 24, 240, 720, 10080, 40320, 725760, 3628800, 79833600, 479001600, 12454041600, 87178291200, 2615348736000, 20922789888000, 711374856192000, 6402373705728000, 243290200817664000 (list; graph; listen)
OFFSET

0,2

COMMENT

Stirling transform of (-1)^n*a(n-1)=[0,2,-2,12,-24,...] is A052856(n-1)=[0,2,4,14,76,...]. - Michael Somos Mar 04 2004

LINKS

INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 557

FORMULA

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

Sum(1/2*(2+_alpha)*_alpha^(-1-n), _alpha=RootOf(-1+_Z^2))*n!

E.g.f.: x(x+2)/(1-x^2). a(2n+1)=2(2n+1)!. a(2n)=(2n)!, if n>0.

n! if n is even, 2n! otherwise.

a(n) = n! / gcd(n, tri(n)) where tri(n) is the n-th triangle number. - Andrew Plewe (aplewe(AT)sbcglobal.net), Jan 09 2006

MAPLE

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

PROGRAM

(PARI) a(n)=if(n<0, 0, n!*polcoeff((x^2+2*x)/(1-x^2)+x*O(x^n), n))

(PARI) a(n)=if(n<1, 0, n!*(n%2+1))

(PARI) tri(n) = (n * (n + 1)) / 2 rclu(n) = n! / gcd(n, tri(n)) (Plewe)

CROSSREFS

Sequence in context: A122007 A137782 A131384 this_sequence A130306 A093044 A033886

Adjacent sequences: A052609 A052610 A052611 this_sequence A052613 A052614 A052615

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