|
| |
|
|
A126631
|
|
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 and at least one of digits 6,7,8,9.
|
|
0
| |
|
|
9, 77, 633, 5021, 38409, 283277, 2019033, 13963901, 94144809, 621444077, 4031587833, 25787305181, 163054382409, 1021372934477, 6349128459033, 39222102764861, 241061530639209, 1475385002210477, 8998880800344633
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
LINKS
| Milan Janjic, Enumerative Formulas for Some Functions on Finite Sets
|
|
|
FORMULA
| a(n)=16*6^n-40*5^n+44*4^n-26*3^n+8*2^n-1
|
|
|
EXAMPLE
| a(8)=13963901
|
|
|
MAPLE
| f:=n->16*6^n-40*5^n+44*4^n-26*3^n+8*2^n-1;
|
|
|
CROSSREFS
| Cf. A125630, A125948, A125947, A125946, A125945, A125910, A125909, A125908, A125880, A125897, A125904, A125858.
Sequence in context: A082677 A185818 A075608 * A190981 A046150 A124131
Adjacent sequences: A126628 A126629 A126630 * A126632 A126633 A126634
|
|
|
KEYWORD
| nonn,base
|
|
|
AUTHOR
| Aleksandar M. Janjic and Milan R. Janjic (agnus(AT)blic.net), Feb 08 2007
|
| |
|
|