login
A245420
Number of nonnegative integers with property that their base 8/5 expansion (see A024647) has n digits.
0
8, 8, 16, 24, 40, 64, 96, 160, 256, 408, 648, 1040, 1664, 2664, 4264, 6816, 10912, 17456, 27928, 44688, 71496, 114400, 183040, 292864, 468576, 749728, 1199560, 1919296, 3070872, 4913400, 7861440, 12578304, 20125288, 32200456, 51520728, 82433168, 131893072
OFFSET
1,1
EXAMPLE
a(2) = 8 because 50, 51, 52, 53, 54, 55, 56, and 57 are the base 8/5 expansions for the numbers 8-15 respectively and these are the only integers with 2 digits.
PROG
(Sage)
A=[1]
for i in [1..100]:
A.append(ceil(((8-5)/5)*sum(A)))
[8*x for x in A]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Tom Edgar, Jul 21 2014
STATUS
approved