OFFSET
2,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 2..1000
Milan Janjic, Enumerative Formulas for Some Functions on Finite Sets
FORMULA
a(n) = 10^n - floor(10^n/10) - floor(10^n/21) + floor(10^n/210).
Conjectures from Colin Barker, Nov 06 2017: (Start)
G.f.: x^2*(86 + 83*x + 84*x^2 + 89*x^3 + 81*x^4 + 90*x^5) / ((1 + x)*(1 - 10*x)*(1 - x + x^2)*(1 + x + x^2)).
a(n) = 9*a(n-1) + 9*a(n-2) + 9*a(n-3) + 9*a(n-4) + 9*a(n-5) + 10*a(n-6) for n>7.
(End)
MAPLE
f := n->10^n-floor(10^n/10)-floor(10^n/21)+floor(10^n/210);
PROG
(Magma) [10^n-Floor(10^n/10)-Floor(10^n/21)+Floor(10^n/210): n in [2..20]]; // Vincenzo Librandi, Oct 02 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Milan Janjic, Apr 28 2007
STATUS
approved