title: N Th Term Series 2 12 36 80 150
signature: nThTermSeries2123680150 :: Integer -> Integer
  nThTermSeries2123680150 n = 
test_code: import Text.Printf
  import Control.Exception (catch, SomeException)
  import Data.Typeable
  import qualified Data.List as List
  import qualified Data.Map as Map
  import qualified Data.Set as Set
  
  -- SOLUTION CODE
  -- ============================================
  
  PLACEHOLDER_CODE_BODY
  
  -- TESTING CODE 
  -- ============================================
  validateSolution :: Integer -> Integer -> Bool
  validateSolution actual expected = do
      actual == expected
  
  
  driver :: Integer -> Integer -> String
  driver n expected = do
      if (validateSolution (PLACEHOLDER_FN_NAME n) expected)
          then "PASSED"
      else "FAILED"
  
  main = do
      printf "TEST-0...%s\n" (driver (90) (737100) )
  
      printf "TEST-1...%s\n" (driver (95) (866400) )
  
      printf "TEST-2...%s\n" (driver (22) (11132) )
  
      printf "TEST-3...%s\n" (driver (29) (25230) )
  
      printf "TEST-4...%s\n" (driver (62) (242172) )
  
      printf "TEST-5...%s\n" (driver (40) (65600) )
  
      printf "TEST-6...%s\n" (driver (52) (143312) )
  
      printf "TEST-7...%s\n" (driver (21) (9702) )
  
      printf "TEST-8...%s\n" (driver (33) (37026) )
  
      printf "TEST-9...%s\n" (driver (11) (1452) )
  
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 );
  }