login
A245400
Number of nonnegative integers with property that their base 9/8 expansion (see A024656) has n digits.
0
9, 9, 9, 9, 9, 9, 9, 9, 9, 18, 18, 18, 18, 27, 27, 27, 36, 36, 45, 45, 54, 63, 72, 81, 90, 99, 108, 126, 144, 162, 180, 198, 225, 252, 288, 324, 360, 405, 459, 513, 576, 648, 729, 819, 927, 1044, 1170, 1314, 1485, 1665, 1872, 2106, 2376, 2673, 3006, 3384, 3807
OFFSET
1,1
FORMULA
a(n) = 9*A120194(n).
EXAMPLE
a(2) = 9 since 80, 81, 82, 83, 84, 85, 86, 87, 88 are the base 9/8 representations of 9-17 respectively and these are the only integers with 2 digits.
PROG
(Sage)
A=[1]
for i in [1..100]:
A.append(ceil(((9-8)/8)*sum(A)))
[9*x for x in A]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Tom Edgar, Jul 21 2014
STATUS
approved