OFFSET
1,20
COMMENTS
By definition, for any A061862(n) with the decimal representation d_1 d_2 ... d_k there exists at least one ordered set of nonnegative integers m_1, m_2, ..., m_k >= 0 such that A061862(n) = d_1^m_1 + ... + d_k^m_k. a(n) gives the number of distinct ordered sets {m_1, m_2, ..., m_k} that satisfy this equation. Whenever A061862(n) contains a 0 or 1 among its digits, the number of such sets is infinite, in that case a(n) is defined to be -1.
a(n) gives the number of solutions to the exponential Diophantine equation d_1 d_2 ... d_k = d_1^m_1 + ... + d_k^m_k with respect to m_1, m_2, ..., m_k in nonnegative integers.
Zero digits do not contribute to the sum (using 0^0 = 1 is forbidden, as per A061862).
a(n) != 0, because all terms in A061862 have at least one such solution by definition.
LINKS
CROSSREFS
KEYWORD
sign,base
AUTHOR
Dmytro Inosov, Sep 16 2025
STATUS
approved
