login
3*10^n-2*9^n.
1

%I #5 Jun 13 2015 00:51:29

%S 1,12,138,1542,16878,181902,1937118,20434062,213906558,2225159022,

%T 23026431198,237237880782,2435140927038,24916268343342,

%U 254246415090078,2588217735810702,26293959622296318,266645636600666862

%N 3*10^n-2*9^n.

%C Partial sums are A097168.

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

%F G.f. : (1-7x)/((1-9x)(1-10x)); a(n)=19a(n-1)-90a(n-2).

%K easy,nonn

%O 0,2

%A _Paul Barry_, Jul 30 2004