title: N Th Term Series 2 12 36 80 150
signature: nThTermSeries2123680150(n) {
test_code: import 'dart:convert';
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  bool validateSolution(int actual, int expected){
      return actual.toString() == expected.toString();
  }
  
  String driver(n, int expected){
      try
      {
          if (validateSolution(PLACEHOLDER_FN_NAME(n), expected)){
              return "PASSED";
          }
          return "FAILED";
      }catch(exception_object){
          return exception_object.runtimeType.toString();
      }
  }
  
  int main() {
  
      print("TEST-0...${driver(
          90, 
          737100)
      }");
  
      print("TEST-1...${driver(
          95, 
          866400)
      }");
  
      print("TEST-2...${driver(
          22, 
          11132)
      }");
  
      print("TEST-3...${driver(
          29, 
          25230)
      }");
  
      print("TEST-4...${driver(
          62, 
          242172)
      }");
  
      print("TEST-5...${driver(
          40, 
          65600)
      }");
  
      print("TEST-6...${driver(
          52, 
          143312)
      }");
  
      print("TEST-7...${driver(
          21, 
          9702)
      }");
  
      print("TEST-8...${driver(
          33, 
          37026)
      }");
  
      print("TEST-9...${driver(
          11, 
          1452)
      }");
  
      return 0;
  }
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 );
  }