login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A185332 Numerators of u(n) where u(n) = (u(n-1) + u(n-2)) / u(n-3), with u(1) = u(2) = u(3) = 1. 4
1, 1, 1, 2, 3, 5, 4, 3, 7, 11, 5, 29, 155, 224, 639, 3787, 1837, 2855, 32393, 97309, 127512, 1825907, 13672693, 12048382, 61067879, 1364331725, 942450221, 3863275086, 126646632559, 699156998051, 2194555785960, 61774183992421 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,4

LINKS

Seiichi Manyama, Table of n, a(n) for n = 1..262

FORMULA

a(4 - n) = a(n) for all n in Z.

0 = u(n) * u(n+3) - u(n+1) - u(n+2) for all n in Z. - Michael Somos, Nov 01 2014

EXAMPLE

u(1), ... = 1, 1, 1, 2, 3, 5, 4, 3, 7/5, 11/10, 5/6, 29/21, 155/77, 224/55, 639/145, ...

MATHEMATICA

Numerator[RecurrenceTable[{a[1]==a[2]==a[3]==1, a[n]==(a[n-1]+a[n-2])/ a[n-3]}, a, {n, 40}]] (* Harvey P. Dale, Jan 28 2013 *)

PROG

(PARI) {a(n) = local(v = [1, 1, 1]); if( n<1, n = 4-n); if( n<4, 1, for( k=4, n, v = [v[2], v[3], (v[2] + v[3]) / v[1]]); numerator( v[3] ))};

CROSSREFS

Cf. A068508, A185341, A205303.

Sequence in context: A096016 A123274 A214674 * A023818 A102149 A321782

Adjacent sequences:  A185329 A185330 A185331 * A185333 A185334 A185335

KEYWORD

nonn,frac

AUTHOR

Michael Somos, Jan 27 2012

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 June 20 19:36 EDT 2019. Contains 324234 sequences. (Running on oeis4.)