A074992 a(n) = (10^(2*n) + 10^n + 1)/3.
1, 37, 3367, 333667, 33336667, 3333366667, 333333666667, 33333336666667, 3333333366666667, 333333333666666667, 33333333336666666667, 3333333333366666666667, 333333333333666666666667, 33333333333336666666666667, 3333333333333366666666666667, 333333333333333666666666666667
Offset: 0
Links
- Rodolfo A. Fiorini, Computerized tomography noise reduction by CICT optimized exponential cyclic sequences (OECS) co-domain, Fundamenta Informaticae, 141(2015), pp. 115-134.
- Index entries for linear recurrences with constant coefficients, signature (111,-1110,1000).
Programs
-
Maple
A074992 := proc(n) (10^(2*n)+10^n+1)/3 ; end proc: seq(A074992(n),n=0..15) ; # R. J. Mathar, May 06 2017
-
Mathematica
{01}~Join~Table[FromDigits@ Flatten@ Map[IntegerDigits, {#, 10^n - #}] &@ Floor[10^n/3], {n, 12}] (* Michael De Vlieger, Jul 22 2016 *)
-
PARI
a(n) = (10^(2*n) + 10^n + 1)/3; \\ Michel Marcus, Sep 14 2013
-
PARI
Vec(-x*(1000*x^2-740*x+37)/((x-1)*(10*x-1)*(100*x-1)) + O(x^100)) \\ Colin Barker, Sep 23 2013
-
PARI
a(n)=my(x=10^n); (x^2+x+1)/3 \\ Charles R Greathouse IV, Jul 22 2016
Formula
a(n) = 111*a(n-1) - 1110*a(n-2) + 1000*a(n-3), for n > 2, a(0)=1, a(1)=37, a(2)=3367.
G.f.: (1 - 74*x + 370*x^2)/((1-x)*(1-10*x)*(1-100*x)). - Colin Barker, Sep 23 2013 and Robert Israel, Jul 22 2016
From Elmo R. Oliveira, Sep 12 2024: (Start)
E.g.f.: exp(x)*(exp(99*x) + exp(9*x) + 1)/3.
a(n) = A066138(n)/3. (End)
Extensions
Entry revised (new definition, new offset, new initial term, etc.) by N. J. A. Sloane, Jul 27 2016 (Some of the old programs may need slight modifications.)
Comments