title: N Th Term Series 2 12 36 80 150
signature: function n_th_term_series_2_12_36_80_150(n)
test_code: using Printf
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  function validate_solution(actual, expected)
      return actual == expected
  end
  
  function driver(n, expected)
      try
  
          if validate_solution(PLACEHOLDER_FN_NAME(n), expected)
              return "PASSED";
          end
          return "FAILED";
      catch exception_obj
          return string(Base.typename(typeof(exception_obj)).wrapper);
      end
  end
  
  function main()
      
      result = driver(90, 737100);
      @printf("TEST-0...%s\n",result);
      
      result = driver(95, 866400);
      @printf("TEST-1...%s\n",result);
      
      result = driver(22, 11132);
      @printf("TEST-2...%s\n",result);
      
      result = driver(29, 25230);
      @printf("TEST-3...%s\n",result);
      
      result = driver(62, 242172);
      @printf("TEST-4...%s\n",result);
      
      result = driver(40, 65600);
      @printf("TEST-5...%s\n",result);
      
      result = driver(52, 143312);
      @printf("TEST-6...%s\n",result);
      
      result = driver(21, 9702);
      @printf("TEST-7...%s\n",result);
      
      result = driver(33, 37026);
      @printf("TEST-8...%s\n",result);
      
      result = driver(11, 1452);
      @printf("TEST-9...%s\n",result);
      
  end
  
  main()
source_py: def n_th_term_series_2_12_36_80_150(n):
      return ((n * n) + ((n * n) * n))
source_cpp: int n_th_term_series_2_12_36_80_150(int n) {
    return ( n * n ) + ( n * n * n );
  }