The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A102206 a(0) = 3, a(1) = 8, a(n+2) = 4*a(n+1) - a(n) - 2. 4
3, 8, 27, 98, 363, 1352, 5043, 18818, 70227, 262088, 978123, 3650402, 13623483, 50843528, 189750627, 708158978, 2642885283, 9863382152, 36810643323, 137379191138, 512706121227, 1913445293768, 7141075053843, 26650854921602, 99462344632563, 371198523608648 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
G.f.: (2x-1)(x-3)/((1-x)(x^2-4x+1)).
a(n) = A092184(n+1) + 2; a(n+1) - a(n) = A001834(n+1) (see comment).
a(0)=3, a(1)=8, a(2)=27, a(n) = 5*a(n-1) - 5*a(n-2) + a(n-3). - Harvey P. Dale, Jul 25 2012
a(n) = (2+(2-sqrt(3))^(1+n)+(2+sqrt(3))^(1+n))/2. - Colin Barker, Nov 03 2016
MATHEMATICA
a[0] = 3; a[1] = 8; a[n_] := a[n] = 4a[n - 1] - a[n - 2] - 2; Table[a[n], {n, 0, 23}] (* Or *)
CoefficientList[ Series[(2x - 1)(x - 3)/((1 - x)(x^2 - 4x + 1)), {x, 0, 22}], x] (* Robert G. Wilson v, Jan 12 2005 *)
LinearRecurrence[{5, -5, 1}, {3, 8, 27}, 30] (* Harvey P. Dale, Jul 25 2012 *)
PROG
(PARI) Vec((2*x-1)*(x-3)/((1-x)*(x^2-4*x+1)) + O(x^30)) \\ Colin Barker, Nov 03 2016
CROSSREFS
Sequence in context: A148844 A145760 A102318 * A192856 A110886 A104854
KEYWORD
nonn,easy
AUTHOR
Creighton Dement, Dec 30 2004
EXTENSIONS
More terms from Robert G. Wilson v, Jan 12 2005
Recurrence in the definition corrected by R. J. Mathar, Aug 07 2008
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 May 13 23:15 EDT 2024. Contains 372524 sequences. (Running on oeis4.)