OFFSET
1,1
COMMENTS
Please, refer to the general explanation in A212697.
This sequence is for base b=9 (see formula), corresponding to spin S=(b-1)/2=4.
LINKS
Stanislav Sykora, Table of n, a(n) for n = 1..100
Stanislav Sýkora, Magnetic Resonance on OEIS, Stan's NMR Blog (Dec 31, 2014), Retrieved Nov 12, 2019.
Index entries for linear recurrences with constant coefficients, signature (18,-81).
FORMULA
a(n) = n*(b-1)*b^(n-1). For this sequence, set b=9.
a(n) = 18*a(n-1)-81*a(n-2). - Colin Barker, Jun 16 2015
G.f.: 8*x / (9*x-1)^2. - Colin Barker, Jun 16 2015
MATHEMATICA
LinearRecurrence[{18, -81}, {8, 144}, 30] (* Harvey P. Dale, Jun 28 2017 *)
PROG
(PARI) mtrans(n, b) = n*(b-1)*b^(n-1);
for (n=1, 100, write("b212703.txt", n, " ", mtrans(n, 9)))
(PARI) Vec(8*x/(9*x-1)^2 + O(x^100)) \\ Colin Barker, Jun 16 2015
(PARI) a(n)=8*n*9^(n-1) \\ Charles R Greathouse IV, Jun 16 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Stanislav Sykora, May 25 2012
STATUS
approved