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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A125897 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 and at least one of the digits 4,5,6,7,8,9. 16
10, 100, 994, 9796, 95650, 924820, 8845714, 83575396, 778945090, 7156197940, 64800104434, 578648865796, 5100362368930, 44424892053460, 382839350691154, 3268062540952996, 27665402010407170, 232490197792427380 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

LINKS

Milan Janjic, Enumerative Formulas for Some Functions on Finite Sets

FORMULA

a(n)=18*8^n-63*7^n+111*6^n-120*5^n+83*4^n-36*3^n+9*2^n-1

EXAMPLE

a(5)=95650

MAPLE

f:=n->18*8^n-63*7^n+111*6^n-120*5^n+83*4^n-36*3^n+9*2^n-1;

CROSSREFS

Cf. A125630.

Sequence in context: A125948 A121084 A171284 * A182979 A055992 A115814

Adjacent sequences:  A125894 A125895 A125896 * A125898 A125899 A125900

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 12:18 EST 2012. Contains 205785 sequences.