Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ hamming_numbers.py
File
hamming_numbers.py
maths/special_numbers/hamming_numbers.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
A Hamming number is a positive integer of the form 2^i*3^j*5^k,
for
some
3
non-negative integers i, j, and k. They are often referred to
as
regular numbers.
4
More info at: https://en.wikipedia.org/wiki/Regular_number.
Callers
nothing calls this directly
Calls
1
hamming
Function · 0.85
Tested by
no test coverage detected