

'''simple docstring'''



from __future__ import annotations







def   a__			(    a__ ,       a__		):




     """simple docstring"""


     if nth_term == "":
          return [""]
     __SCREAMING_SNAKE_CASE      = int(a__		)
     __SCREAMING_SNAKE_CASE      = int(a__		)
     __SCREAMING_SNAKE_CASE      = []
     for temp in range(int(a__		)		):
          series.append(F'1 / {pow(temp + 1 ,       int(a__		)		)}' if series else """1"""		)
     return series


if __name__ == "__main__":
  import doctest

  doctest.testmod()

  UpperCAmelCase					:			Any       =	int(input('Enter the last number (nth term) of the P-Series'))
  UpperCAmelCase					:			Tuple       =	int(input('Enter the power for  P-Series'))
  print('Formula of P-Series => 1+1/2^p+1/3^p ..... 1/n^p')
  print(p_series(nth_term, power))









'''simple docstring'''



from math import isqrt







def   a__			(    a__		):




     """simple docstring"""


     return all(number % divisor != 0 for divisor in range(2 ,       isqrt(a__		) + 1		)		)







def   a__			(    a__ = 10**6		):




     """simple docstring"""


     __SCREAMING_SNAKE_CASE      = 0
     __SCREAMING_SNAKE_CASE      = 1
     __SCREAMING_SNAKE_CASE      = 7
     while prime_candidate < max_prime:
          primes_count += is_prime(a__		)

          cube_index += 1
          prime_candidate += 6 * cube_index

     return primes_count


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






