OFFSET
1,2
COMMENTS
FORMULA
a(n) = A053737(4^k+n-1) where k >= ceiling(log_4(n/3)). [R. J. Mathar, Dec 09 2010]
Conjecture: Fixed point of the morphism 1->{1,2,3,...,b}, 2->{2,3,4,...,b+1}, j->{j,j+1,...,j+b-1} for b=4. [Joerg Arndt, Dec 08 2010]
MAPLE
A053737 := proc(n) add(d, d=convert(n, base, 4)) ; end proc:
A173524 := proc(n) local b; b := 4 ; if n < b then n; else k := n/(b-1); k := ceil(log(k)/log(b)) ; A053737(b^k+n-1) ; end if; end proc:
seq(A173524(n), n=1..100) ; # R. J. Mathar, Dec 09 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
Omar E. Pol, Feb 20 2010
STATUS
approved