[go: up one dir, main page]

login
A245428
Number of nonnegative integers with property that their base 10/3 expansion (see A024658) has n digits.
0
10, 30, 100, 330, 1100, 3670, 12230, 40770, 135900, 453000, 1510000, 5033330, 16777770, 55925900, 186419660, 621398870, 2071329570, 6904431900, 23014773000, 76715910000, 255719700000, 852399000000, 2841330000000, 9471100000000, 31570333333330, 105234444444430
OFFSET
1,1
EXAMPLE
a(2) = 30 because 30, 31,.., 60, 61, .., 98 and 99 are the base 10/3 expansions for the integers 10, 11, .., 20, 21,.., 38, and 39 respectively and these are the only integers with 2 digits.
PROG
(Sage)
A=[1]
for i in [1..60]:
A.append(ceil(((10-3)/3)*sum(A)))
[10*x for x in A]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Hailey R. Olafson, Jul 21 2014
STATUS
approved