OFFSET
1,2
LINKS
FORMULA
If n>1 then a(n)=(10^n-10)/15. - Robert Gerbicz, Sep 06 2002
G.f.: (1-5x+10x^2)/((1-x)(1-10x)); a(n)=2(10^n-1)/3+0^n (offset 0). - Paul Barry, Mar 24 2004
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
AUTHOR
Shyam Sunder Gupta, Aug 15 2002
EXTENSIONS
More terms from Robert Gerbicz, Sep 06 2002
STATUS
approved