|
| |
|
|
A126632
|
|
a(n) is the number of nonnegative integers k less than 10^n such that the decimal representation of k lacks the digit 1, at least one of digits 2,3, at least one of digits 4,5,6 and at least one of digits 7,8,9.
|
|
1
| |
|
|
9, 79, 669, 5431, 42189, 314119, 2251629, 15625591, 105563469, 697683559, 4529641389, 28986744151, 183339095949, 1148652643399, 7141191155949, 44118519949111, 271168742599629, 1659705919705639, 10123331198091309
(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*6^n-45*5^n+48*4^n-27*3^n+8*2^n-1
|
|
|
EXAMPLE
| a(8)=15625591
|
|
|
MAPLE
| f:=n->18*6^n-45*5^n+48*4^n-27*3^n+8*2^n-1;
|
|
|
CROSSREFS
| Cf. A125630, A125948, A125947, A125946, A125945, A125910, A125909, A125908, A125880, A125897, A125904, A125858.
Sequence in context: A044577 A172203 A198857 * A125909 A125421 A163445
Adjacent sequences: A126629 A126630 A126631 * A126633 A126634 A126635
|
|
|
KEYWORD
| nonn,base
|
|
|
AUTHOR
| Aleksandar M. Janjic and Milan R. Janjic (agnus(AT)blic.net), Feb 08 2007
|
| |
|
|