A281546 a(n) = 27*n + 2.
2, 29, 56, 83, 110, 137, 164, 191, 218, 245, 272, 299, 326, 353, 380, 407, 434, 461, 488, 515, 542, 569, 596, 623, 650, 677, 704, 731, 758, 785, 812, 839, 866, 893, 920, 947, 974, 1001, 1028, 1055, 1082, 1109, 1136, 1163, 1190, 1217, 1244, 1271, 1298, 1325, 1352, 1379, 1406, 1433
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (2,-1).
Programs
-
Magma
[27*n+2: n in [0..50]];
-
Maple
A281546:=n->27*n+2: seq(A281546(n), n=0..100); # Wesley Ivan Hurt, Feb 01 2017
-
Mathematica
27 Range[0, 53] + 2 (* Michael De Vlieger, Jan 24 2017 *) LinearRecurrence[{2,-1},{2,29},60] (* Harvey P. Dale, Jul 04 2022 *)
-
PARI
a(n)=27*n+2 \\ Charles R Greathouse IV, Feb 06 2017
Formula
From Elmo R. Oliveira, Dec 08 2024: (Start)
G.f.: (2 + 25*x)/(1 - x)^2.
E.g.f.: (2 + 27*x)*exp(x).
a(n) = 2*a(n-1) - a(n-2) for n >= 2. (End)