login
A384099
Number of ways A061862(n) can be represented as a sum of nonnegative powers of its digits, or -1 if this number is infinite.
3
-1, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, 2, 2, 1, 1, 1, 1, 2, 1, 1, 2, 6, 2, 1, 1, -1, -1, 2, 4, 1, 2, 1, 2, 1, 1, -1, 2, 1, 1, -1, 1, 1, 1, 1, 1, 1, -1, -1, 1, 2, 1, 1, 1, 2, 1, 3, 2, 2, 1, 2, 1, 1, 2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1
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.
a(n) > 0 iff A061862(n) is a term in A387032.
a(n) = 1 iff A061862(n) is a term in A388144.
If A061862(n) is a term in A050240, a(n) >= 2, the equality holds if both representations have equal powers on positions corresponding to repeating digits.
KEYWORD
sign,base
AUTHOR
Dmytro Inosov, Sep 16 2025
STATUS
approved