login
a(n) = 153*n + 18.
5

%I #24 Apr 08 2024 17:47:42

%S 18,171,324,477,630,783,936,1089,1242,1395,1548,1701,1854,2007,2160,

%T 2313,2466,2619,2772,2925,3078,3231,3384,3537,3690,3843,3996,4149,

%U 4302,4455,4608,4761,4914,5067,5220,5373,5526,5679,5832,5985

%N a(n) = 153*n + 18.

%C Numbers of the 18th column of positive numbers in the square array of nonnegative and polygonal numbers A139600. Also, numbers of the 18th column in the square array A057145.

%H Vincenzo Librandi, <a href="/A139618/b139618.txt">Table of n, a(n) for n = 0..5000</a>

%H <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (2,-1).

%F From _Elmo R. Oliveira_, Apr 04 2024: (Start)

%F G.f.: 9*(2+15*x)/(x-1)^2.

%F E.g.f.: 9*exp(x)*(2 + 17*x).

%F a(n) = 9*(A008599(n) + 2).

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

%t 153*Range[0,40]+18 (* or *) LinearRecurrence[{2,-1},{18,171},40] (* _Harvey P. Dale_, May 25 2016 *)

%o (Magma) [9*(17*n + 2): n in [0..50]]; // _Vincenzo Librandi_, Jul 23 2011

%o (PARI) a(n)=153*n+18 \\ _Charles R Greathouse IV_, Oct 05 2011

%Y Cf. A008599, A057145, A139600.

%K easy,nonn

%O 0,1

%A _Omar E. Pol_, May 21 2008