Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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
OFFSET
0,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
KEYWORD
sign,easy
STATUS
approved