




'''simple docstring'''





from doctest import testmod
from math import sqrt





def 	__a	(   _UpperCamelCase:    List[str]    )						-> list:

     """simple docstring"""




     _snake_case							=      []
     if num < 1:
          return facs
     facs.append(1    )
     if num == 1:
          return facs
     facs.append(__lowercase    )
     for i in range(2					,						int(sqrt(__lowercase    )    ) + 1    ):
          if num % i == 0:  # If i is a factor of num
               facs.append(__lowercase    )
               _snake_case							=      num // i  # num//i is the other factor of num
               if d != i:  # If d and i are distinct
                    facs.append(__lowercase    )  # we have found another factor
     facs.sort()
     return facs


if __name__ == "__main__":
   testmod(name='''factors_of_a_number''', verbose=True)






"""simple docstring"""


def    a__       ( __lowercase = 20      )		->		int:

				try:
								_A         =	int(__lowercase      )
				except (TypeError, ValueError):
								raise TypeError("Parameter n must be int or castable to int."      )
				if n <= 0:
								raise ValueError("Parameter n must be greater than or equal to one."      )
				_A         =	0
				while 1:
								i += n * (n - 1)
								_A         =	0
								for j in range(2   ,	__lowercase      ):
												if i % j != 0:
																_A         =	1
																break
								if nfound == 0:
												if i == 0:
																_A         =	1
												return i
				return None


if __name__ == "__main__":
		print(f'''{solution() = }''')