|
Search: id:A126634
|
|
|
| A126634 |
|
a(n) is the number of nonnegative integers k less than 10^n such that the decimal representation of k lacks the digits 1,2,3,4 and at least one of digits 5,6,7,8,9. |
|
+0 2
|
|
| 6, 36, 216, 1296, 7656, 44136, 248016, 1362096, 7338456, 38927736, 203958816, 1058224896, 5448329256, 27880971336, 141993797616, 720419919696, 3644189320056, 18390164454936, 92630272564416, 465876904526496
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
LINKS
|
Milan Janjic, Enumerative Formulas for Some Functions on Finite Sets
|
|
FORMULA
|
a(n)=5*5^n-10*4^n+10*3^n-5*2^n+1
|
|
EXAMPLE
|
a(8)=1362096
|
|
MAPLE
|
f:=n->5*5^n-10*4^n+10*3^n-5*2^n+1;
|
|
CROSSREFS
|
Cf. A125630, A125948, A125947, A125946, A125945, A125910, A125909, A125908, A125880, A125897, A125904, A125858.
Sequence in context: A061708 A124535 A007274 this_sequence A007275 A000400 A097681
Adjacent sequences: A126631 A126632 A126633 this_sequence A126635 A126636 A126637
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Aleksandar M. Janjic and Milan R. Janjic (agnus(AT)blic.net), Feb 08 2007
|
|
|
Search completed in 0.005 seconds
|