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!)
A155130 a(n) = 7*a(n-1) + 7*a(n-2), n>2, a(0)=1, a(1)=6, a(2)=48. 10
1, 6, 48, 378, 2982, 23520, 185514, 1463238, 11541264, 91031514, 718009446, 5663286720, 44669073162, 352326519174, 2778969146352, 21919069658682, 172886271635238, 1363637389057440, 10755665624848746, 84835121097343302 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (7,7).

FORMULA

G.f.: (1-x-x^2)/(1-7*x-7*x^2) .

a(n) = 3*( ((7 + sqrt(77))/2)^(n-1) + ((7 - sqrt(77))/2)^(n-1) ) + (27/77)*sqrt(77)*( ((7 + sqrt(77))/2)^(n-1) - ((7 - sqrt(77))/2)^(n-1) ) + (1/7)*[binomial(2*n,n) mod 2], with n>=0. - Paolo P. Lava, Jan 26 2009

a(n) = (1/7)*[n=0] - 6*(sqrt(7)*i)^(n-2)*ChebyshevU(n, -sqrt(7)*i/2). - G. C. Greubel, Mar 25 2021

MAPLE

m:= 7; 1, seq(simplify((1-m)*(sqrt(m)*I)^(n-2)*ChebyshevU(n, -I*sqrt(m)/2)), n = 1..30); # G. C. Greubel, Mar 25 2021

MATHEMATICA

LinearRecurrence[{7, 7}, {1, 6, 48}, 30] (* Harvey P. Dale, Mar 11 2018 *)

PROG

(Magma) m:=7; [1] cat [n le 2 select (m-1)*(m*n-(m-1)) else m*(Self(n-1) + Self(n-2)): n in [1..30]]; // G. C. Greubel, Mar 25 2021

(Sage) m=7; [1]+[-(m-1)*(sqrt(m)*i)^(n-2)*chebyshev_U(n, -sqrt(m)*i/2) for n in (1..30)] # G. C. Greubel, Mar 25 2021

CROSSREFS

Sequences of the form a(n) = m*(a(n-1) + a(n-2)) with a(0)=1, a(1) = m-1, a(2) = m^2 -1: A155020 (m=2), A155116 (m=3), A155117 (m=4), A155119 (m=5), A155127 (m=6), this sequence (m=7), A155132 (m=8), A155144 (m=9), A155157 (m=10).

Sequence in context: A326888 A326895 A291033 * A250164 A264083 A083233

Adjacent sequences: A155127 A155128 A155129 * A155131 A155132 A155133

KEYWORD

nonn

AUTHOR

Philippe Deléham, Jan 20 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 1 13:29 EDT 2023. Contains 361695 sequences. (Running on oeis4.)