OFFSET
1,1
LINKS
FORMULA
a(n) = 6*A120170(n).
EXAMPLE
a(3) = 6 because 540, 541, 542, 543, 544 and 545 are the base 6/5 expansions for the integers 12, 13, 14, 15, 16 and 17 respectively and these are the only integers with 3 digits.
MATHEMATICA
A120170[n_]:= A120170[n] = If[n==1, 1, Ceiling[Sum[A120170[j], {j, n-1}]/5]]; Table[6*A120170[n], {n, 60}] (* G. C. Greubel, Aug 19 2019 *)
PROG
(Sage)
A=[1]
for i in [1..60]:
A.append(ceil(((6-5)/5)*sum(A)))
[6*x for x in A]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Hailey R. Olafson, Jul 21 2014
STATUS
approved