






'''simple docstring'''




def 					__lowercase						(			__lowercase       )       ->						bool:

      '''simple docstring'''


      _A			     =	(1 + 24 * n) ** 0.5
      return ((1 + root) / 6) % 1 == 0

def 					__lowercase						(			__lowercase = 5000       )       ->						int:

      '''simple docstring'''


      _A			     =	[(i * (3 * i - 1)) // 2 for i in range(1   ,  __lowercase       )]
      for i, pentagonal_i in enumerate(__lowercase       ):
            for j in range(__lowercase   ,  len(__lowercase       )       ):
                  _A			     =	pentagonal_nums[j]
                  _A			     =	pentagonal_i + pentagonal_j
                  _A			     =	pentagonal_j - pentagonal_i
                  if is_pentagonal(__lowercase       ) and is_pentagonal(__lowercase       ):
                        return b

      return -1


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






from __future__ import annotations

from math import pi, sqrt




def       _snake_case	(   lowerCAmelCase							:   float   , lowerCAmelCase							:   float	):
		"""simple docstring"""







		if inductance <= 0:
				raise ValueError("Inductance cannot be 0 or negative"	)

		elif capacitance <= 0:
				raise ValueError("Capacitance cannot be 0 or negative"	)

		else:
				return (
				    "Resonant frequency",
				    float(1 / (2 * pi * (sqrt(inductance * capacitance	)))	),
				)


if __name__ == "__main__":
		import doctest

		doctest.testmod()
