


"""simple docstring"""







from ..utils import DummyObject, requires_backends




class  UpperCamelCase_	( metaclass=UpperCamelCase):

	"""simple docstring"""





	snake_case__				:  Optional[Any]    					=			["keras_nlp"]




	def __init__( self			:				Optional[Any]			,			*UpperCAmelCase__			:				List[Any]			,			**UpperCAmelCase__			:				Union[str, Any]   )       ->	Optional[int]:
						requires_backends(self			,			["keras_nlp"]   )




"""simple docstring"""







from collections import defaultdict
from math import ceil, sqrt




def    UpperCAmelCase__       (lowerCAmelCase_ = 100_0000  ,						lowerCAmelCase_ = 10   ):




					'''simple docstring'''


					__SCREAMING_SNAKE_CASE						   =				defaultdict(lowerCAmelCase_   )

					for outer_width in range(3  ,						(t_limit // 4) + 2   ):
										if outer_width * outer_width > t_limit:
															__SCREAMING_SNAKE_CASE						   =				max(
															    ceil(sqrt(outer_width * outer_width - t_limit   )   )  ,						1   )
										else:
															__SCREAMING_SNAKE_CASE						   =				1

										hole_width_lower_bound += (outer_width - hole_width_lower_bound) % 2

										for hole_width in range(lowerCAmelCase_  ,						outer_width - 1  ,						2   ):
															count[outer_width * outer_width - hole_width * hole_width] += 1

					return sum(1 for n in count.values() if 1 <= n <= 10   )


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