OFFSET
0,2
COMMENTS
LINKS
FORMULA
a(n) = n iff n belongs to A338086.
a(n) < 9^k for any n < 9^k.
EXAMPLE
PROG
(PARI) See Links section.
(PARI) my(table=[0, 5, 6, 7, 4, 1, 2, 3, 8]); a(n) = fromdigits(apply(d->table[d+1], digits(n, 9)), 9); \\ Kevin Ryde, Mar 07 2021
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Rémy Sigrist, Mar 05 2021
STATUS
approved