OFFSET
0,2
COMMENTS
EXAMPLE
a(9) = 21 because 9 = "10" in base 9 becomes "21".
a(80) = 0 because 80 = "88" in base 9 becomes "00".
PROG
(PARI) A256289(n, b=9)=!n+eval(Strchr(apply(d->(d+1)%b+48, digits(n, b))))
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
M. F. Hasler, Mar 22 2015
STATUS
approved