login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A130019 a(n+2) = 6*a(n+1) + (-11 + n)*a(n) + (6 - 2*n)*a(n-1) for n >= 1. 0
0, 0, 1, 6, 27, 114, 483, 2106, 9537, 44934, 219933, 1115286, 5842707, 31537314, 174991443, 996169146, 5808168297, 34633891734, 210943794093, 1310837402646, 8302614222507, 53552183145234, 351468155184003, 2345436650546106 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

LINKS

Table of n, a(n) for n=0..23.

FORMULA

a(n+2) = 6*a(n+1) + (-11 + n)*a(n) + (6 - 2*n)*a(n-1) for n >= 1. \\ Jianing Song, Oct 10 2018

MATHEMATICA

M[n_] := {{0, 1, 0}, {0, 0, 1}, {6 - 2*n, -11 + n, 6}}

v[0] = {0, 0, 1};

v[n_] := v[n] = M[n].v[n - 1]

a = Table[v[n][[1]], {n, 0, 30}]

PROG

(PARI) M(n) = [0, 1, 0; 0, 0, 1; 6 - 2*n, -11 + n, 6];

T(n) = if(n==0, [0; 0; 1], M(n)*T(n-1))

a(n) = T(n)[1, 1] \\ Jianing Song, Oct 10 2018

CROSSREFS

Sequence in context: A079742 A291232 A171475 * A196919 A049651 A109114

Adjacent sequences:  A130016 A130017 A130018 * A130020 A130021 A130022

KEYWORD

nonn,easy,changed

AUTHOR

Roger L. Bagula, Jun 16 2007

EXTENSIONS

Edited, new name, and offset corrected by Jianing Song, Oct 10 2018

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 20 12:34 EDT 2018. Contains 316379 sequences. (Running on oeis4.)