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!)
A162269 a(n) = ((5+sqrt(2))*(2+sqrt(2))^n + (5-sqrt(2))*(2-sqrt(2))^n)/2. 1
5, 12, 38, 128, 436, 1488, 5080, 17344, 59216, 202176, 690272, 2356736, 8046400, 27472128, 93795712, 320238592, 1093362944, 3732974592, 12745172480, 43514740736, 148568617984, 507244990464, 1731842725888, 5912880922624 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Second binomial transform of A162396.
LINKS
FORMULA
a(n) = 4*a(n-1) - 2*a(n-2) for n>1; a(0) = 5, a(1) = 12.
G.f.: (5-8*x)/(1-4*x+2*x^2).
From G. C. Greubel, Oct 02 2018: (Start)
a(2*n) = 2^(n-1)*(Q(2*n+1) + 4*Q(2*n)), where Q(m) = Pell-Lucas numbers.
a(2*n+1) = 2^(n+1)*(P(2*n+2) + 4*P(2*n+1)), where P(m) = Pell numbers. (End)
a(n) = 5*A007070(n)-8*A007070(n-1). - R. J. Mathar, Feb 04 2021
MATHEMATICA
LinearRecurrence[{4, -2}, {5, 12}, 30] (* Harvey P. Dale, Jan 03 2016 *)
PROG
(Magma) Z<x>:=PolynomialRing(Integers()); N<r>:=NumberField(x^2-2); S:=[ ((5+r)*(2+r)^n+(5-r)*(2-r)^n)/2: n in [0..23] ]; [ Integers()!S[j]: j in [1..#S] ]; // Klaus Brockhaus, Jul 02 2009
(PARI) x='x+O('x^30); Vec((5-8*x)/(1-4*x+2*x^2)) \\ G. C. Greubel, Oct 02 2018
CROSSREFS
Cf. A162396.
Sequence in context: A034752 A095310 A122299 * A028322 A169588 A233007
KEYWORD
nonn,easy
AUTHOR
Al Hakanson (hawkuu(AT)gmail.com), Jun 29 2009
EXTENSIONS
Edited and extended beyond a(5) by Klaus Brockhaus, Jul 02 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 03:22 EDT 2024. Contains 371696 sequences. (Running on oeis4.)