code: 
  '''simple docstring'''
  
  
  
  import math
  
  
  
  
  
  def  _A		(							lowercase__	):
  
  						if n <= 0:
  												raise ValueError("""Only positive integers have prime factors"""	)
  						lowercase__							 =       []
  						while n % 2 == 0:
  												pf.append(2	)
  												lowercase__							 =       int(n / 2	)
  						for i in range(3		,		int(math.sqrt(lowercase__	)	) + 1		,		2	):
  												while n % i == 0:
  																		pf.append(lowercase__	)
  																		lowercase__							 =       int(n / i	)
  						if n > 2:
  												pf.append(lowercase__	)
  						return pf
  
  
  
  
  
  def  _A		(							lowercase__	):
  
  						if n <= 0:
  												raise ValueError("""Only positive numbers are accepted"""	)
  						lowercase__							 =       1
  						lowercase__							 =       1
  						while n % 2 == 0:
  												temp += 1
  												lowercase__							 =       int(n / 2	)
  						div *= temp
  						for i in range(3		,		int(math.sqrt(lowercase__	)	) + 1		,		2	):
  												lowercase__							 =       1
  												while n % i == 0:
  																		temp += 1
  																		lowercase__							 =       int(n / i	)
  												div *= temp
  						if n > 1:
  												div *= 2
  						return div
  
  
  
  
  
  def  _A		(							lowercase__	):
  
  						if n <= 0:
  												raise ValueError("""Only positive numbers are accepted"""	)
  						lowercase__							 =       1
  						lowercase__							 =       1
  						while n % 2 == 0:
  												temp += 1
  												lowercase__							 =       int(n / 2	)
  						if temp > 1:
  												s *= (2**temp - 1) / (2 - 1)
  						for i in range(3		,		int(math.sqrt(lowercase__	)	) + 1		,		2	):
  												lowercase__							 =       1
  												while n % i == 0:
  																		temp += 1
  																		lowercase__							 =       int(n / i	)
  												if temp > 1:
  																		s *= (i**temp - 1) / (i - 1)
  						return int(lowercase__	)
  
  
  
  
  
  def  _A		(							lowercase__	):
  						lowercase__							 =       n
  						for x in set(prime_factors(lowercase__	)	):
  												s *= (x - 1) / x
  						return int(lowercase__	)
  
  
  if __name__ == "__main__":
  			import doctest
  
  			doctest.testmod()
  
  
  
  
  
  
  
style_context: 
  '''simple docstring'''
  
  
  
  from typing import TYPE_CHECKING
  
  from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available
  
  
  __A          =    {"configuration_detr": ["DETR_PRETRAINED_CONFIG_ARCHIVE_MAP", "DetrConfig", "DetrOnnxConfig"]}
  
  try:
  				if not is_vision_available():
  								raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
  				pass
  else:
  				__A          =    ["DetrFeatureExtractor"]
  				__A          =    ["DetrImageProcessor"]
  
  try:
  				if not is_torch_available():
  								raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
  				pass
  else:
  				__A          =    [
  				    "DETR_PRETRAINED_MODEL_ARCHIVE_LIST",
  				    "DetrForObjectDetection",
  				    "DetrForSegmentation",
  				    "DetrModel",
  				    "DetrPreTrainedModel",
  				]
  
  
  if TYPE_CHECKING:
  				from .configuration_detr import DETR_PRETRAINED_CONFIG_ARCHIVE_MAP, DetrConfig, DetrOnnxConfig
  
  				try:
  								if not is_vision_available():
  												raise OptionalDependencyNotAvailable()
  				except OptionalDependencyNotAvailable:
  								pass
  				else:
  								from .feature_extraction_detr import DetrFeatureExtractor
  								from .image_processing_detr import DetrImageProcessor
  
  				try:
  								if not is_torch_available():
  												raise OptionalDependencyNotAvailable()
  				except OptionalDependencyNotAvailable:
  								pass
  				else:
  								from .modeling_detr import (
  								    DETR_PRETRAINED_MODEL_ARCHIVE_LIST,
  								    DetrForObjectDetection,
  								    DetrForSegmentation,
  								    DetrModel,
  								    DetrPreTrainedModel,
  								)
  
  else:
  				import sys
  
  				__A          =    _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)
  
  
  
  
  
  
  