|
Search: id:A126646
|
|
|
| A126646 |
|
a(n) is the number of integers k less than 10^n such that the decimal representation of k lacks the digits 1,2,3,4,5,6 and 7 and at least one of digits 8,9. |
|
+0 2
|
|
| 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535, 131071, 262143, 524287, 1048575, 2097151, 4194303, 8388607, 16777215, 33554431, 67108863, 134217727, 268435455, 536870911, 1073741823, 2147483647
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
LINKS
|
Milan Janjic, Enumerative Formulas for Some Functions on Finite Sets
|
|
FORMULA
|
a(n)=2*2^n-1
|
|
EXAMPLE
|
a(8)=511
|
|
MAPLE
|
f:=n->2*2^n-1;
|
|
CROSSREFS
|
Cf. A125630, A125948, A125947, A125946, A125945, A125940, A125909, A125908, A125880, A125897, A125904, A125858.
Sequence in context: A043764 A097002 A060152 this_sequence A000225 A123121 A117060
Adjacent sequences: A126643 A126644 A126645 this_sequence A126647 A126648 A126649
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Aleksandar M. Janjic and Milan R. Janjic (agnus(AT)blic.net), Feb 08 2007, Feb 13 2007
|
|
|
Search completed in 0.002 seconds
|