|
|
A191465
|
|
a(n) = 9^n - 2^n.
|
|
4
|
|
|
0, 7, 77, 721, 6545, 59017, 531377, 4782841, 43046465, 387419977, 3486783377, 31381057561, 282429532385, 2541865820137, 22876792438577, 205891132061881, 1853020188786305, 16677181699535497, 150094635296736977, 1350851717672467801
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
a(n) is the number of words of length n over the alphabet {1,2,...,9} where at least one letter >= 3 appears. - Joerg Arndt, Jan 18 2024
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 11*a(n-1) - 18*a(n-2).
|
|
MATHEMATICA
|
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|