|
|
A318918
|
|
Denominators of power series solution to differential equation diff(diff(y(t),t),t)+t*y(t) = 0, with initial conditions y(0)=1, Dy(0)=1/2.
|
|
1
|
|
|
1, 2, 1, 6, 24, 1, 180, 1008, 1, 12960, 90720, 1, 1710720, 14152320, 1, 359251200, 3396556800, 1, 109930867200, 1161622425600, 1, 46170964224000, 536669560627200, 1, 25486372251648000, 322001736376320000, 1, 17891433320656896000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 1 if n == 2 (mod 3), a(n+3) = (n+2)*(n+3)*a(n) otherwise. # Robert Israel, Jul 15 2019
|
|
EXAMPLE
|
The solution is 1 + (1/2)*t - (1/6)*t^3 - (1/24)*t^4 + (1/180)*t^6 + (1/1008)*t^7 - (1/12960)*t^9 - (1/90720)*t^10 + (1/1710720)*t^12 + ...
|
|
MAPLE
|
with(powseries); with(gfun);
e1:= diff(y(t), t$2)+t*y(t)=0; iv := y(0)=1, D(y)(0)=1/2;
soln := powsolve( ( e1, iv) ); t1:= tpsform( soln, t, 45 );
t2:=seriestolist(t1); t3:=map(denom, t2);
# Alternative:
f:= proc(n) option remember;
if n mod 3 = 2 then return 1 fi;
n*(n-1)*procname(n-3)
end proc:
f(0):= 1: f(1):= 2:
|
|
MATHEMATICA
|
f[n_] := f[n] = Switch[n, 0, 1, 1, 2, _, If[Mod[n, 3]==2, 1, n(n-1)f[n-3]]];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|