


'''simple docstring'''


def      snake_case_  (    SCREAMING_SNAKE_CASE__	):







				"""simple docstring"""





				if divisor % 5 == 0 or divisor % 2 == 0:
								return 0
				_SCREAMING_SNAKE_CASE					:			Union[str, Any]							= 1
				_SCREAMING_SNAKE_CASE					:			Optional[Any]							= 1
				while repunit:
								_SCREAMING_SNAKE_CASE					:			List[Any]							= (10 * repunit + 1) % divisor
								repunit_index += 1
				return repunit_index







def      snake_case_  (    SCREAMING_SNAKE_CASE__ = 100_0000	):







				"""simple docstring"""





				_SCREAMING_SNAKE_CASE					:			Any							= limit - 1
				if divisor % 2 == 0:
								divisor += 1
				while least_divisible_repunit(SCREAMING_SNAKE_CASE__	) <= limit:
								divisor += 2
				return divisor


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








'''simple docstring'''


import os


# All paths are set with the intent you should run this script from the root of the repo with the command
# python utils/check_doctest_list.py
UpperCAmelCase_						:  List[Any]				  =						'.'


if __name__ == "__main__":
				UpperCAmelCase_						:  Any				  =						os.path.join(REPO_PATH, 'utils/documentation_tests.txt')
				UpperCAmelCase_						:  Dict				  =						[]
				UpperCAmelCase_						:  Union[str, Any]				  =						[]
				with open(doctest_file_path) as fp:
								for line in fp:
												UpperCAmelCase_						:  int				  =						line.strip()
												UpperCAmelCase_						:  str				  =						os.path.join(REPO_PATH, line)
												if not (os.path.isfile(path) or os.path.isdir(path)):
																non_existent_paths.append(line)
												all_paths.append(path)
				if len(non_existent_paths) > 0:
								UpperCAmelCase_						:  int				  =						'\n'.join(non_existent_paths)
								raise ValueError(F"`utils/documentation_tests.txt` contains non-existent paths:\n{non_existent_paths}")
				if all_paths != sorted(all_paths):
								raise ValueError('Files in `utils/documentation_tests.txt` are not in alphabetical order.')




