login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A023472 a(n) = n - 30. 1

%I #13 Sep 08 2022 08:44:47

%S -30,-29,-28,-27,-26,-25,-24,-23,-22,-21,-20,-19,-18,-17,-16,-15,-14,

%T -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,

%U 12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30

%N a(n) = n - 30.

%H G. C. Greubel, <a href="/A023472/b023472.txt">Table of n, a(n) for n = 0..5000</a>

%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 From _G. C. Greubel_, Dec 07 2018: (Start)

%F G.f.: (31*x - 30)/(1-x)^2

%F E.g.f.: (x - 30)*exp(x).

%F a(n) = 2*a(n-1) - a(n-2). (End)

%t Range[-30, 59] (* _Alonso del Arte_, Dec 06 2018 *)

%o (PARI) vector(30, n, n--; n-30) \\ _G. C. Greubel_, Dec 07 2018

%o (Magma) [n-30: n in [0..30]]; // _G. C. Greubel_, Dec 07 2018

%o (Sage) [n-30 for n in range(30)] # _G. C. Greubel_, Dec 07 2018

%o (GAP) List([0..30], n -> n-30); # _G. C. Greubel_, Dec 07 2018

%K sign,easy

%O 0,1

%A _N. J. A. Sloane_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 02:28 EDT 2024. Contains 371917 sequences. (Running on oeis4.)