




"""simple docstring"""






def   _snake_case    (       lowercase__	):

				if p < 2:
								raise ValueError('p should not be less than 2!'	)
				elif p == 2:
								return True

				_lowerCamelCase  :    Optional[int]					=					4
				_lowerCamelCase  :    str					=					(1 << p) - 1
				for _ in range(p - 2	):
								_lowerCamelCase  :    Dict					=					((s * s) - 2) % m
				return s == 0


if __name__ == "__main__":
			print(lucas_lehmer_test(7))
			print(lucas_lehmer_test(11))





"""simple docstring"""






from dataclasses import dataclass
from typing import List, Optional, Union

import numpy as np
import torch

from ...utils import BaseOutput, OptionalDependencyNotAvailable, is_torch_available, is_transformers_available






@dataclass
class lowerCAmelCase__			(  lowercase		):






			'''simple docstring'''



			lowerCamelCase__   =    42


try:
			if not (is_transformers_available() and is_torch_available()):
						raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
			from ...utils.dummy_torch_and_transformers_objects import *  # noqa F403
else:
			from .pipeline_text_to_video_synth import TextToVideoSDPipeline
			from .pipeline_text_to_video_synth_imgaimg import VideoToVideoSDPipeline  # noqa: F401
			from .pipeline_text_to_video_zero import TextToVideoZeroPipeline