Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A107386
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A107386 a(n) = 2*a(n-1)-2*a(n-3)+a(n-4), n>6. +0
1
0, 1, 1, 2, 2, 7, 9, 16, 20, 29, 35, 46, 54, 67, 77, 92, 104, 121, 135, 154, 170, 191, 209, 232, 252, 277, 299, 326, 350, 379, 405, 436, 464, 497, 527, 562, 594, 631, 665, 704, 740, 781, 819, 862, 902, 947, 989, 1036, 1080, 1129 (list; graph; listen)
OFFSET

0,4

FORMULA

G.f.: x*(-4*x^4+2*x^5+x-1)/((1+x)*(x-1)^3). [ Sep 28 2009]

a(n)= n^2/2-3*n/2+1-(-1)^n, n>2. [ Sep 28 2009]

MATHEMATICA

Clear[M, m, v, aa] (*A107386*)m = 2; M = {{0, 1, 0, 0}, {0, 0, 1, 0}, {0, 0, 0, 1}, {1, m, 0, - m}}; Expand[Det[M - x*IdentityMatrix[4]]] ; NSolve[Det[M - x*IdentityMatrix[4]] == 0, x] ; v[1] = {0, 1, 1, 2}; v[n_] := v[n] = M . v[n - 1]; digits = 50; aa = Table[Abs[v[n][[1]]], {n, 1, digits}]

a=2; lst={0, 1, 1, a}; Do[a=n^2-a; AppendTo[lst, a], {n, 2, 5!}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Dec 17 2008]

CROSSREFS

Cf. A107387, A107388, A107389.

Sequence in context: A155063 A011022 A070910 this_sequence A095021 A101372 A133374

Adjacent sequences: A107383 A107384 A107385 this_sequence A107387 A107388 A107389

KEYWORD

nonn,easy

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), May 24 2005, corrected Sep 04 2008

EXTENSIONS

Definition replaced by recurrence by the Associate Editors of the OEIS, Sep 28 2009

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 14:45 EST 2009. Contains 167481 sequences.


AT&T Labs Research