


'''simple docstring'''



from ..utils import DummyObject, requires_backends






class        UpperCamelCase__(   metaclass=SCREAMING_SNAKE_CASE__       ):
				__magic_name__				:      Union[str, Any]  		=       ['tensorflow_text']




				def __init__(		self			: int      ,    *lowerCAmelCase			: List[Any]      ,    **lowerCAmelCase			: Tuple      )->     Dict:

										"""simple docstring"""




										requires_backends(self      ,    ['''tensorflow_text''']      )













def    lowerCAmelCase__		(			_a				:	int			):
		if not isinstance(_a     ,					_a			):
				snake_case_ :							Optional[int]         =				F'''Input value of [number={number}] must be an integer'''
				raise TypeError(_a			)
		if number < 1:
				raise ValueError("Input must be a positive integer"			)
		return number * (2 * number - 1)


if __name__ == "__main__":
							import doctest

							doctest.testmod()
