Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/esraaj-sarkar-gupta/happy-numbers
2022 - Generating happy numbers to computationally approximate the density of happy numbers among positive integers.
https://github.com/esraaj-sarkar-gupta/happy-numbers
happy-numbers number-theory
Last synced: 2 days ago
JSON representation
2022 - Generating happy numbers to computationally approximate the density of happy numbers among positive integers.
- Host: GitHub
- URL: https://github.com/esraaj-sarkar-gupta/happy-numbers
- Owner: Esraaj-Sarkar-Gupta
- Created: 2024-01-12T17:28:44.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-26T20:37:05.000Z (7 months ago)
- Last Synced: 2024-11-17T15:55:43.776Z (2 months ago)
- Topics: happy-numbers, number-theory
- Language: Python
- Homepage:
- Size: 4.05 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Happy Numbers
The purpose of this project is to computationally determine the approximate density of happy numbers among positive intergral numbers.
The python script attached is capable of generating happy numbers infinitely.The attached txt file contains a list of all the happy numbers up to 10 million
The density was computed to be 14.18%.References:
[Justin Gilmer wrote a paper]([url](https://arxiv.org/abs/1110.3836)) in 2011 that proves that happy numbers have an upper density of at least 18% and a lower density of at most 12%.
According to CORE, happy numbers have a lower density of 0.1138 and an upper density of 0.18577. However, Scientific American Blogs says that the asymptotic density of happiness does not exist. Wikipedia says that the 10-happy numbers do not have an asymptotic density.