




'''simple docstring'''





import math


def   UpperCamelCase_(			snake_case							: int  ):

       '''simple docstring'''






       if 1 < number < 4:
              # 2 and 3 are primes
              return True
       elif number < 2 or number % 2 == 0 or number % 3 == 0:
              # Negatives, 0, 1, all even numbers, all multiples of 3 are not primes
              return False

       # All primes number are in format of 6k +/- 1
       for i in range(5							,       int(math.sqrt(snake_case  ) + 1  )							,       6  ):
              if number % i == 0 or number % (i + 2) == 0:
                     return False
       return True


def   UpperCamelCase_(			snake_case							: int = 1_0_0_0							,       snake_case							: int = 1_0_0_0  ):

       '''simple docstring'''






       snake_case_			      =   [0, 0, 0]  # length, a, b
       for a in range((a_limit * -1) + 1							,       snake_case  ):
              for b in range(2							,       snake_case  ):
                     if is_prime(snake_case  ):
                            snake_case_			      =   0
                            snake_case_			      =   0
                            while is_prime((n**2) + (a * n) + b  ):
                                   count += 1
                                   n += 1
                            if count > longest[0]:
                                   snake_case_			      =   [count, a, b]
       snake_case_			      =   longest[1] * longest[2]
       return ans


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










'''simple docstring'''





import unittest
from pathlib import Path
from tempfile import TemporaryDirectory
from unittest.mock import Mock, patch

import diffusers.utils.hub_utils




class 				_snake_case	(			unittest.TestCase							):




			@patch("diffusers.utils.hub_utils.get_full_repo_name"							)
			def      lowerCAmelCase__       (      self       ,							a__							)       ->       None:

										'''simple docstring'''




										snake_case_			      =   "full_repo_name"
										with TemporaryDirectory() as tmpdir:
																	# Dummy args values
																	snake_case_			      =   Mock()
																	snake_case_			      =   tmpdir
																	snake_case_			      =   0
																	snake_case_			      =   "hub_token"
																	snake_case_			      =   "dataset_name"
																	snake_case_			      =   0.0_1
																	snake_case_			      =   100_000
																	snake_case_			      =   10_000
																	snake_case_			      =   0.0_1
																	snake_case_			      =   0.0_2
																	snake_case_			      =   0.0_3
																	snake_case_			      =   0.0_0_0_5
																	snake_case_			      =   0.0_0_0_0_0_1
																	snake_case_			      =   1
																	snake_case_			      =   10
																	snake_case_			      =   0.0_0_1
																	snake_case_			      =   0.1
																	snake_case_			      =   0.2
																	snake_case_			      =   True

																	# Model card mush be rendered and saved
																	diffusers.utils.hub_utils.create_model_card(a__       ,							model_name="model_name"							)
																	self.assertTrue((Path(a__							) / "README.md").is_file()							)




