login
A245399
Number of nonnegative integers with property that their base 6/5 expansion (see A024638) has n digits.
2
6, 6, 6, 6, 6, 6, 12, 12, 12, 18, 18, 24, 30, 36, 42, 48, 60, 72, 84, 102, 126, 150, 180, 216, 258, 312, 372, 444, 534, 642, 768, 924, 1110, 1332, 1596, 1914, 2298, 2760, 3312, 3972, 4770, 5724, 6864, 8238, 9888, 11862, 14238, 17082, 20502, 24600, 29520, 35424
OFFSET
1,1
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