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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A125945 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 digits 1,2, at least one of digits 3,4 and at least one of digits 5,6,7,8,9. 17
10, 96, 892, 8076, 71500, 619236, 5241652, 43355436, 350740540, 2780210676, 21641505412, 165814383996, 1253254845580, 9362782430916, 69259450905172, 508062802935756, 3700662365318620, 26794126632247956, 193018363703408932 (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*7^n-60*6^n+85*5^n-70*4^n+34*3^n-9*2^n+1.

EXAMPLE

a(8)=43355436

MAPLE

f:=n->20*7^n-60*6^n+85*5^n-70*4^n+34*3^n-9*2^n+1;

CROSSREFS

Cf. A125630.

Sequence in context: A163738 A190987 A197086 * A190986 A190985 A044642

Adjacent sequences:  A125942 A125943 A125944 * A125946 A125947 A125948

KEYWORD

nonn,base

AUTHOR

Aleksandar M. Janjic and Milan R. Janjic, (agnus(AT)blic.net), Feb 04 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 16 17:11 EST 2012. Contains 205938 sequences.