






'''simple docstring'''

def 							snake_case					(     a_							: int	)       ->				list[int]:





						"""simple docstring"""

						if length <= 0 or not isinstance(_UpperCamelCase    ,   _UpperCamelCase	):
												raise ValueError("""Length must be a positive integer."""	)
						return [n * (2 * n - 1) for n in range(_UpperCamelCase	)]


if __name__ == "__main__":
						print(hexagonal_numbers(length=5))
						print(hexagonal_numbers(length=10))














'''simple docstring'''

def 							snake_case					(     a_							: int	)       ->				int:





      """simple docstring"""

      assert (
          isinstance(a_    ,   a_	) and number_of_steps > 0
      ), f"number_of_steps needs to be positive integer, your input {number_of_steps}"
      if number_of_steps == 1:
            return 1
      UpperCamelCase_    ,			UpperCamelCase_				:   str					    =							1, 1
      for _ in range(number_of_steps - 1	):
            UpperCamelCase_    ,			UpperCamelCase_				:   Tuple					    =							current + previous, current
      return current


if __name__ == "__main__":
      import doctest

      doctest.testmod()






