Skip to content

2022 - Generating happy numbers to computationally approximate the density of happy numbers among positive integers.

Notifications You must be signed in to change notification settings

Esraaj-Sarkar-Gupta/Happy-Numbers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

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 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.

About

2022 - Generating happy numbers to computationally approximate the density of happy numbers among positive integers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages