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!)
A242995 a(n) = a(n-1)^2 + a(n-1)*a(n-2)^2 - a(n-2)^4 with a(1) = 2, a(2) = 3. 3
2, 3, 5, -11, -779, 497941, 181860254581, 16687694789137362648661, -263439569256003706800705587722279993788907979 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
M. Chamberland and M. Martelli, Unbounded Orbits and Binary Digits, Grinnell College.
FORMULA
0 = a(n)^2*(a(n+1) - a(n)^2) - (a(n+2) - a(n+1)^2) for all n>0.
abs(a(n)) = abs(A127814(n)) for all n>0.
a(n) = A242996(n+1) / A242996(n) for all n>0.
MATHEMATICA
RecurrenceTable[{a[n] == a[n-1]^2 + a[n-1]*a[n-2]^2 - a[n-2]^4, a[1] == 2, a[2] == 3}, a, {n, 1, 10}] (* G. C. Greubel, Aug 05 2018 *)
PROG
(PARI) {a(n) = if( n<1, 0, if( n<3, n+1, my(x = a(n-2)^2, y = a(n-1)); y^2 + x*y - x^2))};
(Magma) I:=[2, 3]; [n le 2 select I[n] else Self(n-1)^2 + Self(n-1)*Self(n-2)^2 - Self(n-2)^4: n in [1..10]]; // G. C. Greubel, Aug 05 2018
CROSSREFS
Sequence in context: A195815 A327428 A220346 * A127814 A162253 A321855
KEYWORD
sign
AUTHOR
Michael Somos, Aug 17 2014
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 April 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)