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!)
A263047 a(1)=0, a(2)=1, a(3)=2; for n>3, a(n) = a(n-3)*a(n-1) - a(n-2). 0
0, 1, 2, -1, -3, -5, 8, -19, 87, 715, -13672, -1190179, -850964313, 11634385277515, -13847001034356560872, 11783303722311508585098883421, 137091495347348713307137824784782074139687, -1898306077876225285447341619480271058010077969630158545410485 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

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

MAPLE

a[1]:= 0: a[2]:= 1: a[3]:= 2:

for n from 4 to 20 do

  a[n]:= a[n-3]*a[n-1]-a[n-2]

od:

seq(a[i], i=1..20); # Robert Israel, Oct 08 2015

PROG

(PARI) a(n) = if(n<4, n-1, a(n-3)*a(n-1)-a(n-2));

vector(20, n, a(n)) \\ Altug Alkan, Oct 08 2015

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

CROSSREFS

Sequence in context: A070168 A246646 A198094 * A021828 A094341 A255939

Adjacent sequences:  A263044 A263045 A263046 * A263048 A263049 A263050

KEYWORD

sign

AUTHOR

Gianmarco Giordano, 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 April 13 07:51 EDT 2021. Contains 342935 sequences. (Running on oeis4.)