login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A125904 a(n) is the number of nonnegative integers k less than 10^n such that the decimal representation of k lacks at least one of the digits 1,2,3,4 and at least one of the digits 5,6,7,8,9. 17
10, 100, 1000, 9976, 98920, 971440, 9420400, 90005176, 846101080, 7822770880, 71163913600, 637585923976, 5633160763240, 49148451899920, 424055315011600, 3623013325068376, 30689130457473400, 258015134469182560 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

LINKS

Milan Janjic, Enumerative Formulas for Some Functions on Finite Sets

FORMULA

a(n)=20*8^n-70*7^n+120*6^n-125*5^n+84*4^n-36*3^n+9*2^n-1

EXAMPLE

a(8)=90005176

MAPLE

f:=n->20*8^n-70*7^n+120*6^n-125*5^n+84*4^n-36*3^n+9*2^n-1;

CROSSREFS

Cf. A125630.

Sequence in context: A072083 A029793 A136877 * A190016 A115796 A136857

Adjacent sequences:  A125901 A125902 A125903 * A125905 A125906 A125907

KEYWORD

nonn,base

AUTHOR

Aleksandar M. Janjic and Milan R. Janjic, (agnus(AT)blic.net), Feb 03 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 08:07 EST 2012. Contains 205719 sequences.