|
| |
|
|
A012244
|
|
a(n+2) = (2n+3) a(n+1) + (n+1)^2 a(n).
|
|
6
| |
|
|
1, 1, 4, 24, 204, 2220, 29520, 463680, 8401680, 172504080, 3958113600, 100370793600, 2787459998400, 84139894238400, 2742857884166400, 96034297911552000, 3594206259195552000, 143193586818810528000
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,3
|
|
|
COMMENTS
| a(n) is the number of n-letter words from an n-letter alphabet such that no letter appears more than twice. - Paul Boddington (psb(AT)maths.warwick.ac.uk), Nov 17 2003
|
|
|
LINKS
| K. S. Brown, Integer Sequences Related To PI
D. Dominici, Nested derivatives: A simple method for computing series expansions of inverse functions. arXiv:math/0501052v2 [math.CA]
|
|
|
FORMULA
| E.g.f.: A(x) = (1 - 2*x - x^2)^(-1/2). - Paul Boddington (psb(AT)maths.warwick.ac.uk), Nov 17 2003
a(n) = n!/2^n*A006139(n) = n!*Sum_{k=floor(n/2)..n} 2^(k-n)*C(n, k)*C(k, n-k). Sum_{n>=0} a(n)*x^n/n!^2 = exp(x)*BesselI(0, sqrt(2)*x). a(n) is the central coefficient of n!*(1+x+x^2/2)^n. - Vladeta Jovovic (vladeta(AT)eunet.rs), Mar 22 2004
From Peter Bala, Aug 25 2011: (Start)
The function B(x) := int {t=0..x} A(t), obtained by integrating the generating function A(x), satisfies the autonomous differential equation d/dx(B(x)) = 1/(cos(B(x))-sin(B(x))). Compare with A190392.
Thus B(x), and hence A(x), can be found by inverting the function int {t=0..x} (cos(t)-sin(t)). By applying [Dominici, Theorem 4.1] the result can be expressed as
A(x) = 1 + sum {n>=1} D^n[1/(cos(t)-sin(t))](0)*x^n/n!, where the nested derivative D^n[f](x) of a function f(x) is defined recursively as D^0[f](x) = 1 and D^(n+1)[f](x) = d/dx(f(x)*D^n[f](x)) for n >= 0. Thus a(n) = D^n[1/(cos(t)-sin(t))](0). (End)
|
|
|
MAPLE
| f := proc(n) option remember; if n <= 1 then 1 else (2*n-1)*f(n-1) +(n-1)^2*f(n-2); fi; end;
|
|
|
MATHEMATICA
| Range[0, 20]! CoefficientList[Series[1/(1-2x-x^2)^(1/2), {x, 0, 20}], x] (* Geoffrey Critzer, Dec 07 2011 *)
|
|
|
CROSSREFS
| Cf. A089975, A190392.
Sequence in context: A136229 A138419 A089946 * A050388 A010039 A162314
Adjacent sequences: A012241 A012242 A012243 * A012245 A012246 A012247
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
| |
|
|