|
|
|
|
0, 8, 80, 728, 6560, 59048, 531440, 4782968, 43046720, 387420488, 3486784400, 31381059608, 282429536480, 2541865828328, 22876792454960, 205891132094648, 1853020188851840, 16677181699666568, 150094635296999120
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
Number of integers from 0 to 10^(n+1)-1 that lack any particular digit other than 0. - Robert G. Wilson v, Apr 14 2003
|
|
LINKS
|
|
|
FORMULA
|
a(0)=0, a(1)=8; for n>1, a(n) = 10*a(n-1)-9*a(n-2). - Harvey P. Dale, Apr 14 2015
a(n) = Sum_{i=1..n} 8^i*binomial(n,n-i) for n>0, a(0)=0. - Bruno Berselli, Nov 11 2015
|
|
MATHEMATICA
|
Table[9^n - 1, {n, 0, 20}]
LinearRecurrence[{10, -9}, {0, 8}, 30] (* Harvey P. Dale, Apr 14 2015 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|