OFFSET
3,2
REFERENCES
B. Elspas, The theory of multirail cascades, in A. Mukhopadhyay, ed., Recent Developments in Switching Theory, Ac. Press, 1971, Chap. 8, see esp. p. 361 (S_1(n)).
LINKS
Harry J. Smith, Table of n, a(n) for n = 3...200
Index entries for linear recurrences with constant coefficients, signature (5,-8,4).
FORMULA
From Colin Barker, Mar 23 2012: (Start)
a(n) = 5*a(n-1)-8*a(n-2)+4*a(n-3) for n>6.
G.f.: x^3*(1-3*x+8*x^2-8*x^3)/((1-x)*(1-2*x)^2). (End)
MATHEMATICA
Join[{1}, Table[n*2^(n-3)-2^(n-2)-2, {n, 4, 40}]] (* or *) LinearRecurrence[ {5, -8, 4}, {1, 2, 10, 30}, 40] (* Harvey P. Dale, Dec 22 2019 *)
PROG
(PARI) { for (n = 3, 200, write("b058966.txt", n, " ", abs(n*2^(n-3)-2^(n-2)-2)); ) } \\ Harry J. Smith, Jun 24 2009
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jan 14 2001
STATUS
approved