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!)
A309006 Product minus sum of the two previous terms in the sequence, with a(1) = 2 and a(2) = 5. 1
2, 5, 3, 7, 11, 59, 579, 33523, 19375715, 649512684707, 12584772018235630083, 8173969059977170083865314925891, 102867537103924486790122812065087346778963284622979 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

FORMULA

a(n) = a(n-1)*a(n-2) - (a(n-1)+a(n-2)), with a(1) = 2, a(2) = 5.

EXAMPLE

a(3) = a(1) * a(2) - (a(1) + a(2)) = 2 * 5 - (2 + 5) = 3.

MATHEMATICA

RecurrenceTable[{x[n+1]==x[n]*x[n-1]-(x[n]+x[n-1]), x[1]==2, x[2]==5}, x, {n, 1, 18}]

PROG

(MAGMA) I:=[2, 5]; [n le 2 select I[n] else Self(n-1)*Self(n-2)-(Self(n-1)+Self(n-2)): n in [1..14]]; // Vincenzo Librandi, Jul 10 2019

CROSSREFS

Cf. A173096, A268021.

Sequence in context: A083190 A171026 A064359 * A082152 A084334 A096878

Adjacent sequences:  A309003 A309004 A309005 * A309007 A309008 A309009

KEYWORD

nonn

AUTHOR

Christopher C. Capobianco, Jul 05 2019

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 22 13:15 EDT 2021. Contains 347607 sequences. (Running on oeis4.)