The given vectors are u, v, w, and the given base is b. In each case the subscripts on the coordinates of the digit vectors increase from left to right. For example, in base 10 if
u = [3, 6] , v = [5, 4] , and w = [1, 2] , |
then the indicated decimal expansion is
36.5412121212… , |
and its representation as a quotient of coprime integers is
{60293}/{1650} . |
Formulas:
result = r + s + t where |
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
with
k = length(u) l = length(v) m = length(w) . |
Raise issues you find with the following code proposed for the task: