OFFSET
1,3
COMMENTS
Here 0 digits may be used, with the convention that 0^0 = 1. Of course 0^1 = 0, so one is free to use the 0 digit to get an extra 1, or not.
LINKS
FORMULA
If n = d_1 d_2 ... d_k in decimal then there are integers m_1 m_2 ... m_k >= 0 such that n = d_1^m_1 + ... + d_k^m_k.
EXAMPLE
43 = 4^2 + 3^3; 254 = 2^7 + 5^3 + 4^0 = 128 + 125 + 1.
209 = 2^7 + 0^1 + 9^2.
732 = 7^0 + 3^6 + 2^1.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
David W. Wilson, Sep 05 2009
STATUS
approved