




def 				_UpperCAmelCase	():
				'''simple docstring'''
				for n in range(1   ,     1000000							):
								yield n * (n + 1) // 2




def 				_UpperCAmelCase	(UpperCamelCase_			:			List[str]							):
				'''simple docstring'''
				_lowerCAmelCase     :     int              =   1
				_lowerCAmelCase     :     List[Any]              =   2
				while i * i <= n:
								_lowerCAmelCase     :     Optional[Any]              =   0
								while n % i == 0:
												n //= i
												multiplicity += 1
								divisors_count *= multiplicity + 1
								i += 1
				if n > 1:
								divisors_count *= 2
				return divisors_count




def 				_UpperCAmelCase	():
				'''simple docstring'''
				return next(i for i in triangle_number_generator() if count_divisors(__lowerCamelCase							) > 500							)


if __name__ == "__main__":
	print(solution())







import warnings

from ...utils import logging
from .image_processing_layoutlmva import LayoutLMvaImageProcessor


__UpperCamelCase   :			Optional[int]          = logging.get_logger(__name__)

class 						__lowerCAmelCase      (      __magic_name__					):
							def __init__(		self		:Union[str, Any]						, *__magic_name__		:int						, **__magic_name__		:str							):







								'''simple docstring'''







								warnings.warn(
								    """The class LayoutLMv2FeatureExtractor is deprecated and will be removed in version 5 of Transformers."""
								    """ Please use LayoutLMv2ImageProcessor instead."""						, __magic_name__						, )
								super().__init__(*__magic_name__						, **__magic_name__							)

