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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A165904 Somos-4 recurrence with a(i)=2^i for 0<=i<=3. 2
1, 2, 4, 8, 32, 96, 448, 2944, 15104, 160768, 1565696, 16812032, 341250048, 5081473024, 128940408832, 4153114198016, 110562817540096, 6199850375708672, 294499013825921024, 17095312584100282368, 1743063839902067064832 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..148

FORMULA

a(n) = 2^n*A006720(n).

a(n) = (a(n-1)*a(n-3) + a(n-2)^2)/a(n-4). - G. C. Greubel, Sep 18 2018

MATHEMATICA

RecurrenceTable[{a[n] == (a[n-1]*a[n-3] +a[n-2]^2)/a[n-4], a[0] == 1, a[1] == 2, a[2] == 4, a[3] == 8}, a, {n, 0, 30}] (* G. C. Greubel, Sep 18 2018 *)

PROG

(PARI) a(n)=if(n<4, [1, 2, 4, 8][n+1], (a(n-1)*a(n-3)+a(n-2)^2)/a(n-4))

(MAGMA) I:=[1, 2, 4, 8]; [n le 4 select I[n] else (Self(n-1)*Self(n-3) + Self(n-2)^2)/Self(n-4): n in [1..30]]; // G. C. Greubel, Sep 18 2018

CROSSREFS

Cf. A006720, A157005.

Sequence in context: A194810 A271216 A102000 * A192008 A298989 A074406

Adjacent sequences:  A165901 A165902 A165903 * A165905 A165906 A165907

KEYWORD

nonn

AUTHOR

Jaume Oliver Lafont, Sep 29 2009

EXTENSIONS

"frac" keyword removed by Jaume Oliver Lafont, Oct 13 2009

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 17 14:51 EDT 2018. Contains 316281 sequences. (Running on oeis4.)