OFFSET
1,4
COMMENTS
Note that definition does not make a(1) a special case; it is the empty product, which is 1. If we started with addition, the sequence would be all zeros.
LINKS
Iain Fox, Table of n, a(n) for n = 1..18
Iain Fox, Table of n, a(n) for n = 1..34
FORMULA
a(1) = a(2) = 1. For n > 1, a(2n-1) = a(2n-3)^2 * a(2n-2), a(2n) = 2 * a(2n-2) + a(2n-1).
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Franklin T. Adams-Watters, Oct 26 2006
STATUS
approved