code: def analytical(n):
      return sum(
          factorial(n) / pow(n, i) / float(factorial(n - i))
          for i in range(1, n + 1)
      )
  
imports: from math import factorial
  from random import randrange
label_desc: Use image node_id 1 for calling a global function with example usage: analytical(n) and returns: sum