Numeri palindromi

Numeri che si leggono allo stesso modo da sinistra a destra e da destra a sinistra: uno specchio di simmetria matematica

Un numero palindromo è un numero che rimane invariato quando le sue cifre vengono invertite. Da esempi semplici come 121 e 1331 a numeri primi enormi, i palindromi rivelano una bella simmetria nascosta nel sistema numerico. Appaiono nella matematica ricreativa, nell'informatica e persino in problemi irrisolti che confondono i matematici da decenni.

Proprietà matematiche

I numeri palindromi hanno una struttura ben definita. Un palindromo a n cifre è completamente determinato dalla sua prima metà (più la cifra centrale se n è dispari). Ciò significa che possiamo contare esattamente quanti palindromi esistono per ogni lunghezza:

La distribuzione dei palindromi per numero di cifre segue uno schema chiaro che raddoppia i palindromi disponibili ogni volta che la lunghezza aumenta di due:

Palindromi con 1 cifra 9
Palindromi con 2 cifras 9
Palindromi con 3 cifras 90
Palindromi con 4 cifras 90
Palindromi con 5 cifras 900
Palindromi con 6 cifras 900
Palindromi con 7 cifras 9.000
Totale palindromi fino a 7 cifre 10.998

Primi palindromi

Un primo palindromo è un numero che è sia palindromo che primo. Questi numeri doppiamente speciali diventano sempre più rari man mano che i numeri crescono.

Ecco tutti i primi palindromi fino a 1.000:

Un fatto interessante: eccetto l'11, tutti i primi palindromi hanno un numero dispari di cifre. Questo perché qualsiasi palindromo con un numero pari di cifre è divisibile per 11 e quindi non può essere primo (con la sola eccezione dell'11 stesso).

Il problema 196

Uno dei problemi irrisolti più famosi della matematica ricreativa riguarda la trasformazione di numeri in palindromi. Il metodo è semplice: prendi un numero, inverti le sue cifre e somma i due numeri. Ripeti fino a ottenere un palindromo.

La maggior parte dei numeri raggiunge un palindromo in pochi passi. Ma il numero 196 è speciale — nonostante miliardi di iterazioni e numeri con centinaia di milioni di cifre, nessuno ha mai trovato un palindromo a partire da 196.

56 → 56 + 65 = 121 1 paso
68 → 68 + 86 = 154 → 154 + 451 = 605 → 605 + 506 = 1111 3 pasos
89 → ... → 8.813.200.023.188 24 pasos
196 → ??? Nessun palindromo trovato (miliardi di passi testati)

I numeri che potrebbero non produrre mai un palindromo attraverso questo processo sono chiamati numeri di Lychrel. Sebbene 196 sia il candidato più famoso, resta non dimostrato che non raggiunga mai un palindromo — rendendolo una delle grandi domande aperte della teoria dei numeri.

Lista dei numeri palindromi (1-500)

Clicca su qualsiasi numero palindromo per vedere la sua analisi matematica completa.

Lo sapevi

Domande Frequenti

What defines a palindromic number precisely?

A palindromic number is a positive integer that reads identically forwards and backwards in decimal (or any chosen base) representation. For example, 121 is palindromic because reading digits left-to-right (1,2,1) equals right-to-left reading. Formally, if n = d₁d₂...d_k (digits in decimal representation), then n is palindromic if d_i = d_(k+1-i) for all i from 1 to k. This means single-digit numbers (1-9) are palindromic by definition. Zero is conventionally excluded from palindrome discussions despite technically satisfying the definition. Negative number palindromes are typically excluded due to ambiguity regarding the negative sign. The definition extends naturally to other bases—a number may be palindromic in decimal but not in binary, or vice versa. Multi-base palindromes are those palindromic in multiple bases simultaneously. The mathematical precision of this definition enables systematic study of palindromic properties across all positive integers.

How many n-digit palindromes exist?

For n-digit palindromes, the count follows a pattern based on position. One-digit palindromes: all 9 numbers (1-9) are palindromic. Two-digit palindromes: 9 numbers (11, 22, ..., 99) of form 11k (k=1 to 9). Three-digit palindromes: 90 numbers with form aba (a=1-9, b=0-9). Four-digit palindromes: 90 numbers with form abba (a=1-9, b=0-9). Five-digit palindromes: 900 numbers with form abcba (a=1-9, b,c=0-9). The general formula for n-digit palindromes: 9 × 10^⌊(n-1)/2⌋. For odd n, the middle digit can be any of 10 values; for even n, there's no middle digit. This formula enables calculating total palindromes up to n digits: sum from i=1 to n of 9 × 10^⌊(i-1)/2⌋. The growth rate of palindrome count is much slower than total integers, meaning palindromes become increasingly sparse for larger n—only about 1 in 10 million numbers near 10¹⁵ are palindromic.

What is the Lychrel number conjecture?

The Lychrel conjecture concerns the reverse-and-add process: starting with an integer, reverse its digits and add it to the original; repeat with the result. For example, starting with 19: 19+91=110, 110+011=121 (palindrome). The conjecture states that all positive integers eventually produce palindromes through this process. However, some numbers resist palindrome production despite millions of iterations. The smallest suspected Lychrel number is 196: after millions of iterations, it hasn't yielded a palindrome. Numbers like 879, 1997, 7986 similarly resist palindrome production. No proven Lychrel numbers exist; it's conjectured they either don't exist or are extremely rare. The conjecture's simplicity—applicable to children—contrasts with its mathematical intractability. Computing power enables testing to enormous iteration depths; 196 has been processed through billions of iterations without palindrome production, yet proof that it never produces a palindrome remains elusive. This accessible conjecture exemplifies open mathematical problems.

Esplora altri concetti numerici