%I #24 Feb 27 2024 03:02:23
%S 2,5,35,335,3335,33335,333335,3333335,33333335,333333335,3333333335,
%T 33333333335,333333333335,3333333333335,33333333333335,
%U 333333333333335,3333333333333335,33333333333333335,333333333333333335
%N 2 followed by numbers with n-1 3's before 5.
%C Sum of digits: A016789; sum of digits mod 9: A131598.
%H Vincenzo Librandi, <a href="/A133473/b133473.txt">Table of n, a(n) for n = 0..500</a>
%H <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (11,-10).
%F From _R. J. Mathar_, Nov 30 2007: (Start)
%F O.g.f.: -(-2+17*x)/((-1+x)*(-1+10*x)).
%F a(n) = 10*a(n-1) - 15. (End)
%F E.g.f.: exp(x)*(5 + exp(9*x))/3. - _Stefano Spezia_, Sep 11 2022
%t NestList[10#-15&,2,20] (* or *) LinearRecurrence[{11,-10},{2,5},20] (* _Harvey P. Dale_, Mar 09 2022 *)
%o (Magma) [(1/3)*(5+10^n): n in [0..20]]; // _Vincenzo Librandi_, Aug 10 2011
%Y Cf. A016789, A131598.
%K nonn,easy
%O 0,1
%A _Paul Curtz_, Nov 29 2007
|