MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / hexagonal_numbers.py

File hexagonal_numbers.py

maths/series/hexagonal_numbers.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2A hexagonal number sequence is a sequence of figurate numbers
3where the nth hexagonal number hₙ is the number of distinct dots
4in a pattern of dots consisting of the outlines of regular

Callers

nothing calls this directly

Calls 1

hexagonal_numbersFunction · 0.85

Tested by

no test coverage detected