In mathematics , the nth taxicab number , typically denoted Ta ( n ) or Taxicab ( n ) , is defined as the smallest number that can be expressed as a sum of two positive algebraic cubes in n distinct ways .
A taxicab number is the smallest number that can be expressed as the sum of two positive cubes in n distinct ways .