0,3

A036301 lists fixed points of this map, the first nonzero one being 112. It is also a subsequence of A124177 (and A124176) which lists numbers which are in a cyclic orbit under iterations of this map.

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

a(n) = n - A071650(n).

(PARI) A304440(n)=n+vecsum(apply(t->t*(-1)^t, digits(n)))

Cf. A304439 (variant: + even - odd digits), A071650 (odd - even digits), A071648, A071649, A036301 (fixed points), A124177, A124176.

Sequence in context: A076261 A070802 A114401 * A073467 A288096 A021249

Adjacent sequences: A304437 A304438 A304439 * A304441 A304442 A304443

nonn,base

M. F. Hasler, May 18 2018

approved