


'''simple docstring'''
import math







def 			a_							(  UpperCamelCase_   ):
							if not isinstance(UpperCamelCase_	,     UpperCamelCase_   ):
														A_ 						=		f"Input value of [number={number}] must be an integer"
														raise TypeError(UpperCamelCase_   )
							if number < 1:
														A_ 						=		f"Input value of [number={number}] must be a positive integer"
														raise ValueError(UpperCamelCase_   )
							A_ 						=		[number]
							while number != 1:
														if number % 2 == 0:
																					A_ 						=		math.floor(math.sqrt(UpperCamelCase_   )   )
														else:
																					A_ 						=		math.floor(
																					    math.sqrt(UpperCamelCase_   ) * math.sqrt(UpperCamelCase_   ) * math.sqrt(UpperCamelCase_   )   )
														sequence.append(UpperCamelCase_   )
							return sequence


if __name__ == "__main__":
							import doctest

							doctest.testmod()









'''simple docstring'''
def 			a_							(  UpperCamelCase_   ):
							if not isinstance(UpperCamelCase_	,     UpperCamelCase_   ):
														A_ 						=		f"Input value of [number={number}] must be an integer"
														raise TypeError(UpperCamelCase_   )
							if number < 0 or number % 2 == 1:
														return False
							A_ 						=		int(number**0.5   )
							return number == number_sqrt * (number_sqrt + 1)


if __name__ == "__main__":
							import doctest

							doctest.testmod()





