login
A174418
Alternately sum and multiply with a(1) = 2 and a(2) = 3.
1
2, 3, 5, 15, 20, 300, 320, 96000, 96320, 9246720000, 9246816320, 85502721402470400000, 85502721411717216320, 7310715368019097765567999459196928000000
OFFSET
1,1
COMMENTS
a(n) | a(n+2).
a(n) is approximately c^(2^floor(n/2)) with c = 2.048505746253657024938.... [Charles R Greathouse IV, Nov 07 2011]
FORMULA
a(2n+1) = a(2n) + a(2n-1), a(2n) = a(2n-1) * a(2n-2).
MATHEMATICA
nxt[{n_, a_, b_}]:={n+1, b, If[OddQ[n], a+b, a*b]}; NestList[nxt, {1, 2, 3}, 15][[All, 2]] (* Harvey P. Dale, Feb 26 2020 *)
PROG
(PARI) a=[2, 3]; for(i=1, 9, a=concat(a, [a[#a]+a[#a-1], a[#a]*(a[#a]+a[#a-1])])); a
CROSSREFS
Sequence in context: A330988 A102033 A282616 * A072246 A292903 A296051
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Mar 19 2010
STATUS
approved