login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A160154 10^n-9n for n>=1 0
0, 1, 82, 973, 9964, 99955, 999946, 9999937, 99999928, 999999919, 9999999910, 99999999901, 999999999892, 9999999999883, 99999999999874, 999999999999865, 9999999999999856, 99999999999999847, 999999999999999838 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
a(n) is the number of positive integers less than or equal to 10^n that have at least two distinct digits.
REFERENCES
Miklos Bona, Introduction to Enumerative Combinatorics, McGraw-Hill,2007,p.5
LINKS
FORMULA
O.g.f.: (x+70x^2+10x^3)/((1-x)^2*(1-10x)) E.g.f.: exp(10x)-9x*exp(x)-1
MATHEMATICA
CoefficientList[Series[Exp[10 x] - 9 x*Exp[x] - 1, {x, 0, 20}], x]* Table[n!, {n, 0, 20}]
CROSSREFS
For n>=1, a(n)=A011557-A008591
Sequence in context: A356536 A282159 A263812 * A093282 A085439 A282155
KEYWORD
nonn
AUTHOR
Geoffrey Critzer, May 03 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 13:11 EDT 2024. Contains 371913 sequences. (Running on oeis4.)