Shriyans Gandhi 3a4cc7e310
Hexagonal number sequence (#5640)
* Hexagonal number sequence 

A hexagonal number sequence is a sequence of figurate numbers where the nth hexagonal number hₙ is the number of distinct dots in a pattern of dots consisting of the outlines of regular hexagons with sides up to n dots, when the hexagons are overlaid so that they share one vertex.

This program returns the hexagonal number sequence of n length.

* Update hexagonalnumbers.py

* Update hexagonalnumbers.py

* Update hexagonalnumbers.py

* Update hexagonalnumbers.py

* Update and rename hexagonalnumbers.py to hexagonal_numbers.py

* Length must be a positive integer

Co-authored-by: Christian Clauss <cclauss@me.com>
2021-10-29 09:39:32 +02:00
..
2021-10-29 09:39:32 +02:00
2019-10-21 22:36:33 +02:00
2021-10-27 18:30:03 +02:00
2021-06-16 08:34:32 +02:00
2020-10-26 00:02:24 +08:00
2021-09-07 13:37:03 +02:00
2021-10-15 12:33:39 +02:00
2019-10-29 23:54:30 +01:00
2020-07-06 09:44:19 +02:00
2021-09-06 23:57:18 +02:00
2020-07-06 09:44:19 +02:00
2020-05-10 20:49:40 +05:30
2019-10-22 19:13:48 +02:00
2021-09-07 13:37:03 +02:00
2021-03-22 10:52:26 +01:00
2020-01-18 13:24:33 +01:00
2021-08-15 21:15:53 +02:00
2021-08-15 21:15:53 +02:00