




from maths.is_square_free import is_square_free
from maths.prime_factors import prime_factors




def 							_UpperCAmelCase  (UpperCamelCase_ : int       ):
				'''simple docstring'''
				_lowerCAmelCase										=      prime_factors(_lowerCamelCase       )
				if is_square_free(_lowerCamelCase       ):
								return -1 if len(_lowerCamelCase       ) % 2 else 1
				return 0


if __name__ == "__main__":
	import doctest

	doctest.testmod()







import numpy as np




def 							_UpperCAmelCase  (UpperCamelCase_ : np.array       ):
				'''simple docstring'''
				return (2 / (1 + np.exp(-2 * vector       ))) - 1


if __name__ == "__main__":
	import doctest

	doctest.testmod()

