A139617 a(n) = 136*n + 17.
17, 153, 289, 425, 561, 697, 833, 969, 1105, 1241, 1377, 1513, 1649, 1785, 1921, 2057, 2193, 2329, 2465, 2601, 2737, 2873, 3009, 3145, 3281, 3417, 3553, 3689, 3825, 3961, 4097, 4233, 4369, 4505, 4641, 4777, 4913, 5049, 5185, 5321
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..5000
- Index entries for linear recurrences with constant coefficients, signature (2,-1).
Programs
-
Magma
[17*(8*n + 1): n in [0..60]]; // Vincenzo Librandi, Jul 23 2011
-
Mathematica
136*Range[0,40]+17 (* or *) LinearRecurrence[{2,-1},{17,153},40] (* Harvey P. Dale, Jul 27 2015 *)
-
PARI
a(n)=136*n+17 \\ Charles R Greathouse IV, Oct 05 2011
Formula
From Elmo R. Oliveira, Apr 04 2024: (Start)
G.f.: 17*(1+7*x)/(x-1)^2.
E.g.f.: 17*exp(x)*(1 + 8*x).
a(n) = 17*A017077(n).
a(n) = 2*a(n-1) - a(n-2) for n >= 2. (End)
Comments