OFFSET
1,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..16
EXAMPLE
s(0), s(1), ... = 0, 1/2, 5/6, 11/12, 29/30, 89/90, 629/630, ... .
MAPLE
T:= n-> n*(n+1)/2:
s:= proc(n) option remember; `if`(n=0, 0, s(n-1)+1/(T(n)*a(n))) end:
a:= proc(n) option remember; 1+floor(1/((1-s(n-1))*T(n))) end:
seq(a(n), n=1..13);
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Oct 20 2024
STATUS
approved