OFFSET
0,1
COMMENTS
Starting with 109, this sequence has the same terms as A060982 and A061479. - Georg Fischer, May 24 2022
PROG
(PARI) a(n) = my(k=1, d=digits(k)); while (sum(k=1, #d, (-1)^(k+1)*d[k]) != n, k++; d=digits(k)); k; \\ Michel Marcus, May 24 2022
CROSSREFS
KEYWORD
base,nonn,easy
AUTHOR
Larry Reeves (larryr(AT)acm.org), May 15 2001
EXTENSIONS
Definition amended by Georg Fischer, May 24 2022
STATUS
approved