
"""simple docstring"""





from collections import defaultdict
from math import ceil, sqrt







def 	__a     (		__lowerCamelCase = 100_0000,		__lowerCamelCase = 10  ):
   UpperCAmelCase_					:					Optional[Any]			     =    defaultdict(__lowerCAmelCase  )

   for outer_width in range(3,		(t_limit // 4) + 2  ):
      if outer_width * outer_width > t_limit:
         UpperCAmelCase_					:					str			     =    max(
             ceil(sqrt(outer_width * outer_width - t_limit  )  ),		1  )
      else:
         UpperCAmelCase_					:					Optional[int]			     =    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() = }""")




import math






def    lowerCamelCase__				(				__lowerCAmelCase  :  int				):




			"""simple docstring"""


			lowerCAmelCase_						=	0
			lowerCAmelCase_						=	0
			while num > 0:
						lowerCAmelCase_						=	num % 8
						lowerCAmelCase_						=	octal + (remainder * math.floor(math.pow(10    ,							__lowerCAmelCase				)				))
						counter += 1
						lowerCAmelCase_						=	math.floor(num / 8				)  # basically /= 8 without remainder if any
						# This formatting removes trailing '.0' from `octal`.
			return F"""0o{int(__lowerCAmelCase				)}"""






def    lowerCamelCase__				(				):




			"""simple docstring"""


			print("\n2 in octal is:"				)
			print(decimal_to_octal(2				)				)  # = 2
			print("\n8 in octal is:"				)
			print(decimal_to_octal(8				)				)  # = 10
			print("\n65 in octal is:"				)
			print(decimal_to_octal(65				)				)  # = 101
			print("\n216 in octal is:"				)
			print(decimal_to_octal(216				)				)  # = 330
			print("\n512 in octal is:"				)
			print(decimal_to_octal(512				)				)  # = 1000
			print("\n"				)


if __name__ == "__main__":
			main()



