The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A174442 a(n) = a(n-1)+a(n-2) if n is odd, otherwise a(n) = a(n-1)*a(n-2) with a(1)=3 and a(2)=5. 1
3, 5, 8, 40, 48, 1920, 1968, 3778560, 3780528, 14284951879680, 14284955660208, 204059904209433724979773440, 204059904209448009935433648, 41640444505966182658016083427778017651139155192709120, 41640444505966182658016083631837921860587165128142768 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
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
Sequence in context: A027520 A195548 A174529 * A109342 A121371 A067094
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Mar 20 2010
EXTENSIONS
Corrected by Harvey P. Dale, Nov 15 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 19 19:45 EDT 2024. Contains 372703 sequences. (Running on oeis4.)