Metraipolis › archive › dc_8464e9756929
Happy number — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Happy_number
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-07T22:35:42.773Z
- SHA-256 of the archived text
32c8f1dddc6283c5eb0469ffa33fdd358a35f8ef534a8a37d7e5cf1782bc8b20- Stable URL of this page
https://metraipolis.com/documento/dc_8464e9756929
How to cite
Happy number — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Happy_number (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_8464e9756929 (Metraipolis archive dc_8464e9756929, sha256 32c8f1dddc6283c5eb0469ffa33fdd358a35f8ef534a8a37d7e5cf1782bc8b20)
BibTeX
@misc{dc8464e9756929,
title = {Happy number — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Happy_number},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_8464e9756929; sha256 32c8f1dddc6283c5eb0469ffa33fdd358a35f8ef534a8a37d7e5cf1782bc8b20},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Happy_number. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
In number theory, a happy number is a number which eventually reaches 1 when the number is replaced by the sum of the square of each digit. For instance, 13 is a happy number because 1 2 + 3 2 = 10 {\displaystyle 1^{2}+3^{2}=10} , and 1 2 + 0 2 = 1 {\displaystyle 1^{2}+0^{2}=1} . On the other hand, 4 is not a happy number because the sequence starting with 4 2 = 16 {\displaystyle 4^{2}=16} and 1 2 + 6 2 = 37 {\displaystyle 1^{2}+6^{2}=37} eventually reaches 2 2 + 0 2 = 4 {\displaystyle 2^{2}+0^{2}=4} , the number that started the sequence, and so the process continues in an infinite cycle without ever reaching 1. A number which is not happy is called sad or unhappy. More generally, a b {\displaystyle b} -happy number is a natural number in a given number base b {\displaystyle b} that eventually reaches 1 when iterated over the perfect digital invariant function for p = 2 {\displaystyle p=2} . The origin of happy numbers is not clear. Happy numbers were brought to the attention of Reginald Allenby (a British author and senior lecturer in pure mathematics at Leeds University) by his daughter, who had learned of them at school. However, they "may have originated in Russia."
Tema degli esploratori: matematica e informatica teorica (deposito sistematico; ricerca «number theory»).
Fonte: Wikipedia in inglese, voce «Happy number» — https://en.wikipedia.org/wiki/Happy_number
Wikidata Q44535 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q44535
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Happy_number?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1375529061, consultata il 2026-10-07T22:14:06.011Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 5755ed9d919c8e56564d0a13fc08aac6ed5c0222847a6619507780faaf236305