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!)
A153465 9*4^n - 2. 2
34, 142, 574, 2302, 9214, 36862, 147454, 589822, 2359294, 9437182, 37748734, 150994942, 603979774, 2415919102, 9663676414, 38654705662, 154618822654, 618475290622, 2473901162494, 9895604649982, 39582418599934, 158329674399742, 633318697598974, 2533274790395902 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n)=A002063(n)-2. - R. J. Mathar, Jan 03 2009
a(n) = 5*a(n-1) - 4*a(n-2).
G.f.: x*(34-28*x)/((1-x)*(1-4*x)). - Vincenzo Librandi, May 03 2014
MATHEMATICA
LinearRecurrence[{5, -4}, {34, 142}, 50] (* Vincenzo Librandi, Feb 22 2012 *)
CoefficientList[Series[(34 - 28 x )/((1 - x) (1 - 4 x)), {x, 0, 30}], x] (* Vincenzo Librandi, May 03 2014 *)
PROG
(PARI) a(n)=9*4^n-2; \\ Charles R Greathouse IV, Jan 11 2012
(Magma) I:=[34, 142]; [n le 2 select I[n] else 5*Self(n-1)-4*Self(n-2): n in [1..50]]; // Vincenzo Librandi, Feb 22 2012
CROSSREFS
Sequence in context: A303302 A158062 A141127 * A280550 A105714 A072319
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Dec 27 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 April 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)