OFFSET
0,4
COMMENTS
r(n): 0, 0, 1, 1/2, 5/3, 13/6, 19/5, 179/30, 1028/105, 1103/70, 893/35,... = A227500(n)/a(n). a(0)=a(1)=1 is a choice.
PROG
(PARI) r(n) = if (n<=1, 0, r(n-1) + r(n-2) + bernfrac(n-2));
a(n) = if (n<=1, 1, denominator(r(n))); \\ Michel Marcus, Aug 24 2013
(Magma) t:=40; r:=[n le 2 select 0 else Self(n-1)+Self(n-2)+BernoulliNumber(n-3): n in [1..t]]; [n le 2 select 1 else Denominator(r[n]): n in [1..t]]; // Bruno Berselli, Sep 05 2013
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Paul Curtz, Aug 13 2013
EXTENSIONS
More terms from Michel Marcus, Aug 24 2013
STATUS
approved