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!)
A161944 a(n) = ((4+sqrt(2))*(3+sqrt(2))^n + (4-sqrt(2))*(3-sqrt(2))^n)/4. 3
2, 7, 28, 119, 518, 2275, 10024, 44219, 195146, 861343, 3802036, 16782815, 74082638, 327016123, 1443518272, 6371996771, 28127352722, 124160138935, 548069364556, 2419295214791, 10679285736854, 47140647917587 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Third binomial transform of A135530.
LINKS
FORMULA
a(n) = 6*a(n-1) - 7*a(n-2) for n > 1; a(0) = 2; a(1) = 7.
G.f.: (2-5*x)/(1-6*x+7*x^2).
E.g.f.: exp(3*x)*(4*cosh(sqrt(2)*x) + sqrt(2)*sinh(sqrt(2)*x))/2. - G. C. Greubel, Apr 03 2018
MATHEMATICA
LinearRecurrence[{6, -7}, {2, 7}, 50] (* G. C. Greubel, Apr 03 2018 *)
Table[((4+Sqrt[2])(3+Sqrt[2])^n+(4-Sqrt[2])(3-Sqrt[2])^n)/4, {n, 0, 30}]// Simplify (* Harvey P. Dale, Jun 03 2020 *)
PROG
(Magma) Z<x>:=PolynomialRing(Integers()); N<r>:=NumberField(x^2-2); S:=[ ((4+r)*(3+r)^n+(4-r)*(3-r)^n)/4: n in [0..21] ]; [ Integers()!S[j]: j in [1..#S] ]; // Klaus Brockhaus, Jul 01 2009
(PARI) x='x+O('x^30); Vec((2-5*x)/(1-6*x+7*x^2)) \\ G. C. Greubel, Apr 03 2018
(GAP) a:=[2, 7];; for n in [3..25] do a[n]:=6*a[n-1]-7*a[n-2]; od; a; # Muniru A Asiru, Apr 04 2018
CROSSREFS
Cf. A135530, A161941 (second binomial transform of A135530).
Sequence in context: A150650 A150651 A151298 * A150652 A130655 A150653
KEYWORD
nonn,easy
AUTHOR
Al Hakanson (hawkuu(AT)gmail.com), Jun 22 2009
EXTENSIONS
Edited and extended beyond a(4) by Klaus Brockhaus, Jul 01 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 28 11:10 EDT 2024. Contains 372042 sequences. (Running on oeis4.)