login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A022975
a(n) = 19 - n.
1
19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -21, -22, -23, -24, -25, -26, -27, -28, -29, -30, -31, -32, -33, -34, -35, -36, -37, -38, -39, -40, -41
OFFSET
0,1
FORMULA
From Chai Wah Wu, Jun 17 2016: (Start)
a(n) = 2*a(n-1) - a(n-2) for n > 1.
G.f.: (-20*x + 19)/(x - 1)^2. (End)
MATHEMATICA
CoefficientList[Series[(-20 x + 19) /(x - 1)^2, {x, 0, 100}], x] (* Vincenzo Librandi, Jun 18 2016 *)
19-Range[0, 80] (* Harvey P. Dale, Aug 23 2017 *)
PROG
(Magma) [19-n: n in [0..70]]; // Vincenzo Librandi, Jun 18 2016
CROSSREFS
Sequence in context: A321332 A109410 A230339 * A023461 A305238 A004460
KEYWORD
sign
STATUS
approved