OFFSET
1,4
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..19
M. E. Mays, Iterating the division algorithm, Fib. Quart., 25 (1987), 204-213.
FORMULA
a(n) = A005831(n) - 1 for all n>0. - Michael Somos, Jan 17 2015
PROG
(PARI) {a(n) = if( n<4, n==3, -1 + (1 + a(n-1)) * (2 + a(n-2)))}; /* Michael Somos, Jan 17 2015 */
CROSSREFS
KEYWORD
nonn
AUTHOR
Mike Mays (mays(AT)math.wvu.edu)
STATUS
approved