login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

a(n) = 5-n.
1

%I #13 Jul 29 2024 03:03:06

%S 5,4,3,2,1,0,-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,

%T -17,-18,-19,-20,-21,-22,-23,-24,-25,-26,-27,-28,-29,-30,-31,-32,-33,

%U -34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53

%N a(n) = 5-n.

%H Tanya Khovanova, <a href="http://www.tanyakhovanova.com/RecursiveSequences/RecursiveSequences.html">Recursive Sequences</a>.

%H <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (2,-1).

%F G.f.: (5-6*x) / (x-1)^2. - _R. J. Mathar_, Aug 06 2015

%t 5-Range[0,60] (* or *) LinearRecurrence[{2,-1},{5,4},60] (* _Harvey P. Dale_, Jul 23 2016 *)

%Y Cf. A022958 - A022995.

%K sign,easy

%O 0,1

%A _N. J. A. Sloane_