
"""simple docstring"""




def 							a__ (				lowerCAmelCase	:       str		):






     '''simple docstring'''
     if n_term == "":
          return []
     UpperCAmelCase__							: list 							=						[]
     for temp in range(int(lowerCAmelCase		)		):
          series.append(F"1/{temp + 1}" if series else "1"		)
     return series


if __name__ == "__main__":
    A__      :	List[str]          =    input("""Enter the last number (nth term) of the Harmonic Series""")
    print("""Formula of Harmonic Series => 1+1/2+1/3 ..... 1/n""")
    print(harmonic_series(nth_term))





"""simple docstring"""




from math import isqrt



def 							a__ (				lowerCAmelCase	:       int		):






     '''simple docstring'''
     UpperCAmelCase__							: Tuple 							=						[True] * max_number
     for i in range(2       ,    isqrt(max_number - 1		) + 1		):
          if is_prime[i]:
               for j in range(i**2       ,    lowerCAmelCase       ,    lowerCAmelCase		):
                    UpperCAmelCase__							: List[Any] 							=						False

     return [i for i in range(2       ,    lowerCAmelCase		) if is_prime[i]]



def 							a__ (				lowerCAmelCase	:       int = 10**8		):






     '''simple docstring'''
     UpperCAmelCase__							: Dict 							=						calculate_prime_numbers(max_number // 2		)

     UpperCAmelCase__							: Optional[int] 							=						0
     UpperCAmelCase__							: Optional[int] 							=						0
     UpperCAmelCase__							: Tuple 							=						len(lowerCAmelCase		) - 1
     while left <= right:
          while prime_numbers[left] * prime_numbers[right] >= max_number:
               right -= 1
          semiprimes_count += right - left + 1
          left += 1

     return semiprimes_count


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



