0,3

The graph of sequence presents fractal aspects.

Table of n, a(n) for n=0..81.

a(n)=a(n, 3) where a(n, m)=sum(i=0, n, sum(k=0, i, (-1)^k*(floor(i/m^k)-m*floor(i/m^(k+1)))))

Cf. A005536 (fractal mountains in base 2).

Sequence in context: A217956 A105198 A133882 * A278885 A183049 A178086

Adjacent sequences: A092103 A092104 A092105 * A092107 A092108 A092109

nonn

Benoit Cloitre, Mar 29 2004

approved