



'''simple docstring'''
import math


def   lowercase_	(   lowerCAmelCase__	:  int ):

			"""simple docstring"""





			if n <= 0:
						raise ValueError("""Only positive integers have prime factors""" )
			__UpperCAmelCase   :      Dict										=     []
			while n % 2 == 0:
						pf.append(2 )
						__UpperCAmelCase   :      Dict										=     int(n / 2 )
			for i in range(3			,							int(math.sqrt(lowerCAmelCase__ ) ) + 1			,							2 ):
						while n % i == 0:
									pf.append(lowerCAmelCase__ )
									__UpperCAmelCase   :      Dict										=     int(n / i )
			if n > 2:
						pf.append(lowerCAmelCase__ )
			return pf


def   lowercase_	(   lowerCAmelCase__	:  int ):

			"""simple docstring"""





			if n <= 0:
						raise ValueError("""Only positive numbers are accepted""" )
			__UpperCAmelCase   :      str										=     1
			__UpperCAmelCase   :      str										=     1
			while n % 2 == 0:
						temp += 1
						__UpperCAmelCase   :      List[str]										=     int(n / 2 )
			div *= temp
			for i in range(3			,							int(math.sqrt(lowerCAmelCase__ ) ) + 1			,							2 ):
						__UpperCAmelCase   :      Dict										=     1
						while n % i == 0:
									temp += 1
									__UpperCAmelCase   :      Optional[Any]										=     int(n / i )
						div *= temp
			if n > 1:
						div *= 2
			return div


def   lowercase_	(   lowerCAmelCase__	:  int ):

			"""simple docstring"""





			if n <= 0:
						raise ValueError("""Only positive numbers are accepted""" )
			__UpperCAmelCase   :      Any										=     1
			__UpperCAmelCase   :      int										=     1
			while n % 2 == 0:
						temp += 1
						__UpperCAmelCase   :      int										=     int(n / 2 )
			if temp > 1:
						s *= (2**temp - 1) / (2 - 1)
			for i in range(3			,							int(math.sqrt(lowerCAmelCase__ ) ) + 1			,							2 ):
						__UpperCAmelCase   :      Union[str, Any]										=     1
						while n % i == 0:
									temp += 1
									__UpperCAmelCase   :      List[str]										=     int(n / i )
						if temp > 1:
									s *= (i**temp - 1) / (i - 1)
			return int(lowerCAmelCase__ )


def   lowercase_	(   lowerCAmelCase__	:  int ):

			"""simple docstring"""





			__UpperCAmelCase   :      Optional[int]										=     n
			for x in set(prime_factors(lowerCAmelCase__ ) ):
						s *= (x - 1) / x
			return int(lowerCAmelCase__ )


if __name__ == "__main__":
					import doctest

					doctest.testmod()









'''simple docstring'''
from math import pi


def   lowercase_	(   lowerCAmelCase__	:  float ):

			"""simple docstring"""





			return degree / (180 / pi)


if __name__ == "__main__":
					from doctest import testmod

					testmod()




