





def 					_A	(		SCREAMING_SNAKE_CASE					:       int						):





  """simple docstring"""



  assert isinstance(SCREAMING_SNAKE_CASE	,	SCREAMING_SNAKE_CASE						), f'''The input value of [n={number}] is not an integer'''

  if number == 1:
    return 2
  elif number < 1:
    a__     : Union[str, Any]  =f'''The input value of [n={number}] has to be > 0'''
    raise ValueError(SCREAMING_SNAKE_CASE						)
  else:
    a__     : List[Any]  =sylvester(number - 1						)
    a__     : Any  =num - 1
    a__     : Optional[Any]  =num
    return lower * upper + 1


if __name__ == "__main__":
     print(F"""The 8th number in Sylvester's sequence: {sylvester(8)}""")













from maths.prime_check import is_prime
def 					_A	(		SCREAMING_SNAKE_CASE					:       int						):





  """simple docstring"""



  if not isinstance(SCREAMING_SNAKE_CASE	,	SCREAMING_SNAKE_CASE						):
    a__     : Dict  =f'''Input value of [number={number}] must be an integer'''
    raise TypeError(SCREAMING_SNAKE_CASE						)
  if is_prime(SCREAMING_SNAKE_CASE						) and is_prime(number + 2						):
    return number + 2
  else:
    return -1


if __name__ == "__main__":
     import doctest

     doctest.testmod()






