|
| |
|
|
A126633
|
|
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, at least one of digits 5,6 and at least one of digits 7,8,9.
|
|
1
| |
|
|
10, 94, 832, 6946, 54880, 412714, 2975752, 20722306, 140285200, 928323034, 6031661272, 38617025266, 244322679520, 1531014308554, 9519483716392, 58816232361826, 361524350929840, 2212804949145274, 13497228660885112
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
LINKS
| Milan Janjic, Enumerative Formulas for Some Functions on Finite Sets
|
|
|
FORMULA
| a(n)=24*6^n-60*5^n+62*4^n-33*3^n+9*2^n-1
|
|
|
EXAMPLE
| a(8)=20722306
|
|
|
MAPLE
| f:=n->24*6^n-60*5^n+62*4^n-33*3^n+9*2^n-1;
|
|
|
CROSSREFS
| Cf. A125630, A125948, A125947, A125946, A125945, A125910, A125909, A125908, A125880, A125897, A125904, A125858.
Sequence in context: A192902 A192903 A050793 * A125422 A190988 A163738
Adjacent sequences: A126630 A126631 A126632 * A126634 A126635 A126636
|
|
|
KEYWORD
| nonn,base
|
|
|
AUTHOR
| Aleksandar M. Janjic and Milan R. Janjic (agnus(AT)blic.net), Feb 08 2007
|
| |
|
|