OFFSET
1,2
LINKS
FORMULA
If n>1 then a(n) = (10^n - 10)/15. - Robert Gerbicz, Sep 06 2002
From Paul Barry, Mar 24 2004: (Start)
G.f.: (1-5*x+10*x^2)/((1-x)*(1-10*x)).
a(n) = 2*(10^n - 1)/3 + 0^n (offset 0). (End)
From Elmo R. Oliveira, Jul 21 2025: (Start)
E.g.f.: (9 + 15*x - 10*exp(x) + exp(10*x))/15.
a(n) = 11*a(n-1) - 10*a(n-2) for n > 3.
a(n) = A073551(n)/2. (End)
EXAMPLE
a(2) = 6 because there are 6 Fibonacci numbers up to 10^2 which end in 2.
MATHEMATICA
LinearRecurrence[{11, -10}, {1, 6, 66}, 30] (* Harvey P. Dale, May 02 2016 *)
CROSSREFS
KEYWORD
base,nonn,easy
AUTHOR
Shyam Sunder Gupta, Aug 15 2002
EXTENSIONS
More terms from Robert Gerbicz, Sep 06 2002
STATUS
approved
