OFFSET
0,3
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..15
MATHEMATICA
RecurrenceTable[{a[n] == (a[n - 1] + 1) (a[n - 2] + 1) (a[n - 3] + 1)/a[n - 4], a[0] == 1, a[1] == 1, a[2] == 2, a[3] == 6}, a, {n, 0, 11}] (* Michael De Vlieger, Sep 03 2016 *)
PROG
(Ruby)
def A276453(n)
a = [1, 1, 2, 6]
ary = [1]
while ary.size < n + 1
i = a[1..-1].inject(1){|s, i| s * (i + 1)}
break if i % a[0] > 0
a = *a[1..-1], i / a[0]
ary << a[0]
end
ary
end
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Sep 03 2016
STATUS
approved