login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A263045 a(1)=a(2)=1, a(3)=2; for n>3, a(n) = (a(n-1) + a(n-2))*a(n-3) - a(n-1). 0
1, 1, 2, 1, 2, 4, 2, 10, 38, 58, 902, 35578, 2080262, 1906407418, 67898268271622, 141250085279900836858, 269280339671247778784817867782, 18283668752862244903904463537467802693858298, 2582569770571288306580588933602503511656010789600193877369998342 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

Table of n, a(n) for n=1..19.

MATHEMATICA

RecurrenceTable[{a[1]==a[2]==1, a[3]==2, a[n]==(a[n-1]+a[n-2])a[n-3]-a[n-1]}, a, {n, 20}] (* Harvey P. Dale, Jul 23 2018 *)

PROG

(PARI) a(n) = if(n<4, fibonacci(n), (a(n-1)+a(n-2))*a(n-3)-a(n-1)) \\ Altug Alkan, Oct 08 2015

(MAGMA) I:=[1, 1, 2]; [n le 3 select I[n]  else (Self(n-1)+ Self(n-2))*Self(n-3)-Self(n-1): n in [1..20]]; // Vincenzo Librandi, Oct 09 2015

CROSSREFS

Sequence in context: A137406 A181293 A262876 * A333442 A319563 A201912

Adjacent sequences:  A263042 A263043 A263044 * A263046 A263047 A263048

KEYWORD

nonn

AUTHOR

Gianmarco Giordano, Oct 08 2015

EXTENSIONS

More terms from Altug Alkan, Oct 08 2015

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 23 20:42 EDT 2021. Contains 347617 sequences. (Running on oeis4.)