code: def generate_binary_array_and_factors(N):
      # Generate binary array
      binary_array = np.random.randint(2, size=N)
      # Generate array of factor pairs
      factor_pairs = [
          (i, N // i)
          for i in range(2, int(np.sqrt(N)) + 1)
          if N % i == 0
      ]
      # Return both
      return binary_array.tolist(), factor_pairs
  
label_desc: Use image node_id 1 for calling a global function with example usage: generate_binary_array_and_factors(N) and returns: binary_array,  factor_pairs