OFFSET
1,1
FORMULA
If n=3^k, a(n)=2(10^n-1)/9. For all n, a(n) <= 2(10^n-1)/9.
a(2^k)= 2*10^(k-1).
If p=prime, a(p) = 2(10^(p-1)-1)/9.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Sep 18 2012
STATUS
approved