Skip to content

Sum-product number

Sum-product number denotes a number equal to the product of the sum and product of its digits within recreational number theory.

Version
v2 · 2026-11-14 · History
Domain-specific #
12364
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomain
Recreational Number Theory → Mathematics

Core Idea

A sum-product number in base b is a natural number equal to the product of the sum of its base-b digits and the product of those digits. If Sb(n) is the digit sum and Pb(n) the digit product, the defining fixed-point equation is n = Sb(n)Pb(n). The property is representation-dependent: changing the base changes the digits, the function, and generally the membership of n. In decimal notation, 144 is a nontrivial example because (1+4+4)(1×4×4)=9×16=144.

How would you explain it like I'm…

The Comes-Back Number

A sum-product number is a special number. Add up its digits, and also multiply its digits together. Then multiply those two answers. If you get the number you started with, it is a sum-product number! 144 works: 1 + 4 + 4 is 9, 1 × 4 × 4 is 16, and 9 × 16 is 144.

Digit Sum Times Digit Product

A sum-product number is a number that equals the sum of its digits times the product of its digits. For 144, the digit sum is 9 and the digit product is 16, and 9 × 16 = 144, so it works. A number with a 0 digit can never work (unless it is 0), because multiplying by 0 gives 0. Whether a number is a sum-product number depends on how you write it, so a number may work in our usual base 10 but not in another base. There are only a limited number of them in each base, because for big numbers the digit math gives answers that are too small.

Digit Sum–Product Fixed Point

A sum-product number in base b is a number n that equals the sum of its base-b digits times the product of its base-b digits: n = S(n) × P(n). In base 10, 144 works, since (1+4+4)(1×4×4) = 9 × 16 = 144. The property depends on the base, because changing the base changes the digits. If you think of F(n) = S(n) × P(n) as a rule you can apply over and over, sum-product numbers are its fixed points, the numbers it leaves unchanged; longer loops give 'sociable' sum-product numbers. For numbers with many digits, F(n) is always smaller than n, so each base has only finitely many sum-product numbers. Every sum-product number is also divisible by its digit sum, which makes it a Harshad number, but not every Harshad number is a sum-product number.

 

In recreational number theory, a sum-product number in base b is a natural number satisfying n = S_b(n)·P_b(n), where S_b and P_b are the sum and product of its base-b digits; in decimal, 144 = (1+4+4)(1·4·4) = 9·16 is a nontrivial example. The property is representation-dependent, since changing the base changes the digits and generally membership. Treating F_b(n) = S_b(n)P_b(n) as a map on the naturals places the concept in arithmetic dynamics: sum-product numbers are fixed points, longer periodic orbits give sociable sum-product numbers, and iteration from any seed gives a transient followed by a cycle. Digit bounds force finiteness: with d digits, the sum is at most linear in d and the product at most (b−1)^d, while n is at least b^(d−1), so for large d, F_b(n) < n, leaving finitely many fixed points per base and confining all orbits eventually to a bounded region. The defining equation implies divisibility by the digit sum, so every sum-product number is a Harshad number in the same base, though not conversely. A zero digit makes the product zero, so such numerals cannot be positive fixed points.

Scope of Application

  • Fixed-point enumeration. Candidates are generated and checked exactly under one base and numeral convention.

  • Finite-state dynamics. Growth bounds force trajectories into a bounded region where cycles and basins can be exhaustively studied.

  • Sociable cycles. Longer periodic orbits extend the fixed-point question under the same map.

  • Harshad relations. Divisibility by the digit sum is necessary for positive fixed points but not sufficient.

  • Base comparison. The same integer can qualify in one base and fail in another because its digits change.

Clarity

Sum-product number denotes a fixed point of the base-dependent map that multiplies a number's digit sum by its digit product. It is distinct from numbers equal only to a digit sum or product and from longer periodic orbits under iteration. Because zero digits force the product to zero and changing base changes every digit, the base and treatment of zero are structural, not incidental.

Manages Complexity

Sum-product numbers compress a search over integers into the digit sum, digit product, base, and a fixed-point equation. Zero digits eliminate most candidates immediately; bounds on the maximum digit product and sum eventually dominate positional growth, limiting the number of digits that must be checked. Fixed points, transients, and longer cycles form branches of the same arithmetic dynamical system.

Abstract Reasoning

Representation move. From a number's digits in a fixed base, compute both digit sum and digit product and test the defining equality with the number. Constraint move. Use digit bounds, zero behavior, and place-value growth to restrict possible digit lengths and compositions. Construction move. Search by digit multisets or recurrences rather than blindly enumerating all integers, while restoring positional distinctions where they matter. Base-change move. Re-evaluate the property after changing radix because both operations are representation-dependent. Boundary move.

Knowledge Transfer

Within the home domain. Sum-product numbers transfer across recreational mathematics, digit-function dynamics, and radix-dependent enumeration when an integer equals the sum plus product of its digits under a specified base and convention. Digit length, zeros, place value, and search bounds retain formal force. Beyond the home domain (C — formal class). The definition applies literally to any radix, but its members generally change with representation. Its boundary is semantic: the term does not describe a number closed under sum and product, an intrinsic algebraic property, or a model of combined processes. Numerical pattern alone carries no cross-domain mechanism.

Relationships to Other Abstractions

Local relationship map for Sum-product numberParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Sum-product numberDOMAINPrime abstraction: Classification — is a kind ofClassificationPRIME

Current abstraction Sum-product number Domain-specific

Parents (1) — outgoing typed relations

  • Sum-product number is a kind of Classification Prime

    Sum-product number is a domain-specific kind of Classification: Sum-product number denotes a number equal to the product of the sum and product of its digits within recreational number theory.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Sum-product number sits in a moderately populated region (45th percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.

Family — Numeral Systems & Digit Algorithms (11 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14