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