OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..23
MATHEMATICA
nxt[{n_, a_, b_}]:={n+1, b, If[EvenQ[n], a+b, a*b]}; NestList[nxt, {2, 3, 5}, 15][[All, 2]] (* Harvey P. Dale, Nov 15 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Mar 20 2010
EXTENSIONS
Corrected by Harvey P. Dale, Nov 15 2021
STATUS
approved