login
a(n)=2*5^n-2^n.
2

%I #8 Dec 03 2015 09:34:44

%S 1,8,46,242,1234,6218,31186,156122,780994,3905738,19530226,97654202,

%T 488277154,2441398058,12207014866,61035123482,305175715714,

%U 1525878775178,7629394269106,38146972131962,190734862232674

%N a(n)=2*5^n-2^n.

%C Third binomial transform of A014551(n+1)

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

%F G.f.: (1+x)/((1-2x)(1-5x));

%F e.g.f.: 2exp(5x)-exp(2x).

%F a(0)=1, a(1)=8, a(n)=7*a(n-1)-10*a(n-2). - _Harvey P. Dale_, Dec 03 2015

%t Table[2*5^n-2^n,{n,0,20}] (* or *) LinearRecurrence[{7,-10},{1,8},30] (* _Harvey P. Dale_, Dec 03 2015 *)

%K easy,nonn

%O 0,2

%A _Paul Barry_, Apr 29 2003