OFFSET
1,1
COMMENTS
Twelfth row of 22-rowed array.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (1,1,-1).
FORMULA
Except for the initial term, a(n) = 44*(n-1) - a(n-1).
From R. J. Mathar, Jan 30 2010: (Start)
a(n) = a(n-1) + a(n-2) - a(n-3).
a(n) = 22*n - (-1)^n - 11.
G.f.: 4*x*(3 + 5*x + 3*x^2)/((1+x)*(x-1)^2). (End)
E.g.f.: 11*(2*x - 1)*exp(x) - exp(-x) + 12. - G. C. Greubel, May 29 2016
MATHEMATICA
LinearRecurrence[{1, 1, -1}, {12, 32, 56}, 50] (* G. C. Greubel, May 29 2016 *)
Select[Range[1200], MemberQ[{12, 32}, Mod[#, 44]]&] (* Harvey P. Dale, Oct 14 2022 *)
PROG
(Magma) [ n : n in [1..1650] | n mod 44 in [12, 32] ]; // Vincenzo Librandi, Apr 21 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Oct 25 2009
EXTENSIONS
First formula corrected by R. J. Mathar, Jan 30 2010
Last few terms corrected by Vincenzo Librandi, Apr 21 2011
STATUS
approved