Skip to content

Polydivisible number

A base-b integer whose first i digits form a number divisible by i at every prefix length i.

Version
v1 · 2026-10-17 · History
Domain-specific #
14254
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomain
Number Theory → Mathematics

Core Idea

A polydivisible number is a positive integer whose leading prefixes all pass a length-indexed divisibility test. Write it without leading zeroes in a fixed base b ≥ 2. For every prefix length i, the first i digits, interpreted in that base, must form a multiple of i. Decimal 102 passes: its prefixes 1, 10, and 102 divide by 1, 2, and 3 respectively.[1][2]

How would you explain it like I'm…

Step-by-Step Dividing Numbers

A polydivisible number is a number that passes a test at every step. Look at its first digit, then its first two digits, then its first three, and so on. The first part must split evenly into 1 group, the first two digits into 2 equal groups, the first three into 3 equal groups, and it has to work every time. For example, 102 works: 1, then 10 splits into 2, then 102 splits into 3.

Every-Prefix Divisible Number

A polydivisible number is a number that passes a test at every step as you read it from the left. The first digit must be divisible by 1, the first two digits (read as a number) by 2, the first three by 3, and so on to the end. For example, 102 works: 1 is divisible by 1, 10 by 2, and 102 by 3. Passing just the last test isn't enough; every step must pass. You can play the same game with numbers written in other number systems, not just our usual one.

Prefix-Divisible Integers

A polydivisible number is a positive integer whose digits pass a divisibility test at every leading prefix. Write the number in a base b (at least 2) without leading zeros. For each i from 1 up to the number of digits, read the first i digits as a number in base b; that number must be divisible by i. Checking only the whole number is not enough; every prefix must pass. For example, in base 10, 102 qualifies because 1, 10, and 102 are divisible by 1, 2, and 3. The definition picks out a whole family of numbers, and changing the base, say to base 4, just changes a setting within the same family.

 

A polydivisible number in base b ≥ 2 is a positive integer whose base-b numeral d1 d2 … dn, written without leading zeros, satisfies the condition that for every i = 1, …, n, the value of the prefix d1 … di interpreted in base b is divisible by i. All prefix tests are required; divisibility of the full number by n alone does not suffice. The decimal example 102 passes because its prefixes 1, 10, and 102 are divisible by 1, 2, and 3. The definition is a rule specifying a family of numbers, not a single special number or a particular program that lists them. Applying the rule in another base, such as base 4, with each prefix read in that base, varies a parameter within the same number-theoretic family rather than creating a different concept.

Scope of Application

The literal scope is positive positional integers in a declared base, with the following within-domain uses:

  • Decimal classification: Test every prefix; OEIS counts 20,456 positive decimal members after excluding zero.[2]
  • Base-4 enumeration: Apply the identical rule with base-4 place values; 37 positive members remain after excluding zero.[3]

Clarity

The final digit-count test alone is insufficient: decimal 111 divides by 3, but its prefix 11 fails division by 2. Membership depends on every earlier prefix. The defining yes-or-no Predicate belongs inside the family’s identity; an individual number is not itself a predicate.[1]

Manages Complexity

One failed prefix rules out every extension that starts with it. An enumerator therefore extends only survivors: append digit d to a prefix valued p, calculate bp+d, and retain it when the new length divides that value. This prunes a search tree without adding a second membership rule.[3]

Abstract Reasoning

For an n-digit base-b value N, the first i digits equal ⌊N/b^(n−i)⌋; membership requires i ∣ ⌊N/b^(n−i)⌋ for all 1 ≤ i ≤ n.[1] OEIS estimates the length-k count by (b−1)b^(k−1)/k!. This heuristic does not prove that every base has a maximum length; universal finiteness remains conjectural.[3][1]

Knowledge Transfer

The rule transfers between radices when each prefix is reinterpreted in the new base. For example, 2220301₄ equals decimal 10801 and is polydivisible in base 4.[4] A decimal pandigital member adds a digit-use restriction, not a new definition.[2] Kaprekar Number and Arithmetic Number have different defining tests. Applying “polydivisible” to a nonnumeric staged check is only an analogy.

Relationships to Other Abstractions

Local relationship map for Polydivisible 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.Polydivisible numberDOMAINPrime abstraction: Predicate — includesPredicatePRIME

Current abstraction Polydivisible number Domain-specific

Parents (1) — outgoing typed relations

  • Polydivisible number includes Predicate Prime

    The exact length-indexed membership predicate is an identity-bearing internal constituent of the Polydivisible number family.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Polydivisible number sits in a moderately populated region (51st percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.

Family — Integer Classifications & Arithmetic Functions (45 abstractions)

Nearest neighbors

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

References

[1] Alec Mihailovs and contributors, “A109783: Largest length of a polydivisible number in base n,” The On-Line Encyclopedia of Integer Sequences (2005–), definition, Formula: Conjecture 1, and base-10 Example, https://oeis.org/A109783. The universal finiteness statement is explicitly conjectural. registry ↩a ↩b ↩c ↩d

[2] N. J. A. Sloane and contributors, “A144688: Magic/polydivisible numbers,” The On-Line Encyclopedia of Integer Sequences (2009–), definition, Comments, Example and generators, https://oeis.org/A144688. Based on Roberto Bosch Cabrera. Its total includes zero. registry ↩a ↩b ↩c

[3] Martin Renner and contributors, “A271373: Number of k-digit polydivisible numbers in base n,” The On-Line Encyclopedia of Integer Sequences (2016–), definition, Formula, base-4 Example row and Maple recurrence, https://oeis.org/A271373. The first count in each row includes zero; the displayed length-count expression is a heuristic. registry ↩a ↩b ↩c

[4] Don Reble and contributors, “A109032: Largest polydivisible number in base n,” The On-Line Encyclopedia of Integer Sequences (2005–), definition and value at n=4, https://oeis.org/A109032. registry ↩