login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A023472 a(n) = n - 30. 1
-30, -29, -28, -27, -26, -25, -24, -23, -22, -21, -20, -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 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..5000

Tanya Khovanova, Recursive Sequences

Index entries for linear recurrences with constant coefficients, signature (2, -1).

FORMULA

From G. C. Greubel, Dec 07 2018: (Start)

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

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

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

MATHEMATICA

Range[-30, 59] (* Alonso del Arte, Dec 06 2018 *)

PROG

(PARI) vector(30, n, n--; n-30) \\ G. C. Greubel, Dec 07 2018

(MAGMA) [n-30: n in [0..30]]; // G. C. Greubel, Dec 07 2018

(Sage) [n-30 for n in range(30)] # G. C. Greubel, Dec 07 2018

(GAP) List([0..30], n -> n-30); # G. C. Greubel, Dec 07 2018

CROSSREFS

Sequence in context: A100935 A112026 A022986 * A327846 A056998 A057348

Adjacent sequences:  A023469 A023470 A023471 * A023473 A023474 A023475

KEYWORD

sign,easy

AUTHOR

N. J. A. Sloane

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 23 06:48 EDT 2019. Contains 328335 sequences. (Running on oeis4.)