Sitemap
Bapparaj

Bapparaj

4 min readNov 25, 2026

--

๐‘๐ž๐ญ๐ข๐ฎ๐ฆ: ๐„๐ฑ๐ฉ๐ฅ๐จ๐ซ๐ข๐ง๐  ๐ญ๐ก๐ž ๐๐ซ๐ข๐ฆ๐ž ๐๐ฎ๐ฆ๐›๐ž๐ซ ๐‹๐ข๐ง๐ค๐ข๐ง๐  ๐€๐ซ๐œ๐ก๐ข๐ญ๐ž๐œ๐ญ๐ฎ๐ซ๐ž (๐๐๐‹๐€)

Press enter or click to view image in full size

Blockchain architecture is commonly organized as a linear sequence of blocks, where each block follows the previous one. Retium takes a different approach by organizing blocks into a mathematically defined mesh.

At the center of this design is the Prime Number Linking Architecture (PNLA), which uses prime-number arithmetic to determine block identities and relationships.

A Mesh Instead of a Single Chain

In Retium, every block has a numerical identity. This identity is either a prime number or a product of distinct prime numbers.

A blockโ€™s parent links are determined by the prime numbers that divide its identity.

For example:

- Block 6 = 2 ร— 3, so it links to blocks 2 and 3.
- Block 105 = 3 ร— 5 ร— 7, so it links to blocks 3, 5 and 7.

Instead of following only one previous block, a block can connect to multiple parents. This gives the mesh both width and depth.

How the Mesh Grows

Retium divides time into units called ticks. Each tick introduces the next prime number and computes the valid blocks that can be formed with the primes that came before it.

The mesh layout is determined by the same arithmetic rules across all nodes. Every node can independently calculate the valid block identities and their relationships without relying on another node to broadcast a complete block list.

This makes the structure deterministic: the same prime history produces the same mesh layout.

Prime-Gap Links: Adding Horizontal Structure

PNLA includes another important relationship: prime-gap links.

Prime blocks can connect when the difference between their prime numbers is one of the allowed gaps: 2, 4 or 6.

For example, block 7 can connect to block 5 because the difference is 2.

The mesh therefore has two kinds of structural relationships:

- Divisor links establish the blockโ€™s ancestry through its prime factors.
- Prime-gap links connect nearby prime blocks and provide horizontal structure.

Together, these links create a mesh with multiple directions rather than a single linear path.

Understanding the Different Block Classes

Retiumโ€™s Whitepaper describes four block classes based on the number of distinct prime factors in a blockโ€™s identity.

Prime Blocks

Prime blocks are the anchors of the mesh. They follow the prime sequence, such as 2, 3, 5, 7 and 11.

Get Bapparajโ€™s stories inย yourย inbox

Join Medium for free to get updates fromย thisย writer.

Two-Prime Composite Blocks

These blocks contain two distinct prime factors, such as 6, 15 and 77. They form the base layer by linking pairs of prime anchors.

Atomic Blocks

Atomic blocks contain exactly three distinct prime factors, such as 30, 105 and 385. They are reusable building units that help the mesh grow in multiple directions.

Constellation Blocks

Constellation blocks contain four or more distinct prime factors, such as 210 and 2310. They are valid blocks, but they do not serve as further anchors.

Each class has a defined role within the overall mesh structure.

The Uniqueness Rule

PNLA applies a uniqueness rule when blocks are combined: every prime factor must appear only once.

For example, block 105 and block 3 cannot be combined because the prime 3 would appear twice.

However, block 105 and block 2 can form block 210 because all prime factors remain distinct.

If a combination violates this rule, it is discarded before becoming a candidate block.

This rule helps ensure that block identities and parent relationships are mathematically consistent.

How PNLA Relates to Proof of Math

Retium calls its consensus approach Proof of Math.

The meshโ€™s block identities and structural relationships are determined by prime-number arithmetic. Validators do not select the next block or decide the structure of the mesh.

Instead, the protocolโ€™s mathematical rules determine which block identities and links are valid.

It is important to distinguish structural validity from transaction finality. PNLA defines the mesh structure, while Retiumโ€™s separate finality process determines which transaction results and block contents become final.

The Bigger Picture

PNLA is one of Retiumโ€™s foundational architectural choices.

By using prime-number arithmetic to define block identities, divisor links, prime-gap links and mesh growth, Retium establishes a structure that nodes can calculate independently.

Rather than relying on a single linear sequence, the architecture creates a multidirectional mesh with defined mathematical relationships.

Retium โ€” A blockchain mesh shaped by mathematics.

Official References

1. Retium Whitepaper v2.0.2 โ€” https://docs.retium.org/whitepaper/
2. Why Can Retium Not Fork? โ€” https://docs.retium.org/whitepaper/why-can-retium-not-fork

Source note: This article describes Retiumโ€™s protocol architecture as documented in its official Whitepaper v2.0.2, which identifies the network as public testnet. It does not imply that Retium mainnet is already live.

--

--