OFFSET
0,2
COMMENTS
a(n) is also the INVERTi transform of A010842(n+1) starting at n=2.
a(n) is also the moment of order n for the measure of density: exp(x-2) / ((Ei(x-2))^2+Pi^2) over the interval 2..infinity with Ei the exponential integral.
More generally, for every integer k, the sequence a(n,k)=int(x^n*exp(x-k) / ((Ei(x-k))^2+Pi^2), x=k..infinity) is the INVERTi transform of the sequence b(n+1,k), starting at n=2, with b(n,k)=int(x^n*exp(x-k), x=k..infinity) whose e.g.f. is exp(k*x)/(1-x).
LINKS
Vaclav Kotesovec, Table of n, a(n) for n = 0..200
FORMULA
a(n) = Integral_{x=2..oo} x^n*exp(x-2)/((Ei(x-2))^2 + Pi^2) dx.
G.f.: 1/x^2 - 3/x - Q(0)/x^2, where Q(k) = 1 - 2*x - x*(k+1)/(1-x*(k+1)/Q(k+1)); (continued fraction). - Sergei N. Gladkovskii, Apr 19 2013
a(n) ~ exp(2) * n^2 * n!. - Vaclav Kotesovec, Nov 02 2023
MAPLE
with(LinearAlgebra):
c:= proc(n) option remember; add(n!/k!, k=0..n) end:
b:= n-> (-1)^(n+1) * Determinant(Matrix(n+2,
(i, j)-> `if`(0<=i+1-j, c(i+1-j), 0))):
a:= proc(n) add(b(k) *binomial(n, k), k=0..n) end:
seq(a(n), n=0..20); # Alois P. Heinz, Mar 24 2011
MATHEMATICA
c[n_] := c[n] = Sum[n!/k!, {k, 0, n}]; b[n_] := (-1)^(n+1)*Det[Table[If[0 <= i+1-j, c[i+1-j], 0], {i, 1, n+2}, {j, 1, n+2}]]; a[n_] := Sum[b[k] * Binomial[n, k], {k, 0, n}]; Table[a[n], {n, 0, 20}] (* Jean-François Alcover, Feb 28 2017, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Groux Roland, Mar 24 2011
STATUS
approved