title: Sum Series 555555 N Terms
signature: sumSeries555555NTerms :: Integer -> Integer
  sumSeries555555NTerms 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 (18) (617200000000000000) )
  
      printf "TEST-1...%s\n" (driver (14) (61719999999991) )
  
      printf "TEST-2...%s\n" (driver (15) (617199999999991) )
  
      printf "TEST-3...%s\n" (driver (3) (614) )
  
source_py: def sum_series_555555_n_terms(n):
      return int(((0.6172 * (pow(10, n) - 1)) - (0.55 * n)))
source_cpp: int sum_series_555555_n_terms(int n) {
    return 0.6172 * ( pow ( 10, n ) - 1 ) - 0.55 * n;
  }