Skip to main content
20-Turquoise
August 14, 2016
Question

Solve, Vector with elements are whole numbers.

  • August 14, 2016
  • 2 replies
  • 2214 views

  Hello, Everyone.

(2).PNG

       The Question is : How to solve vector v with elements are whole numbers ?

             Thanks in advance for your time and help.

                    Best Regards.

2 replies

12-Amethyst
August 14, 2016

Hi.

You can't. With hope, for 9 unknown independent variables, you need at least 9 equations, or for some kind of situations, some restrictions. Here, the restriction to be natural numbers seems to be not enough.

Suppose that you know that a + b = 5. Then, you can solve for some "originals" a nor b.

Best regards.

Alvaro.

lvl10720-TurquoiseAuthor
20-Turquoise
August 14, 2016

Change from "whole" to "integer" :

(3).PNG

                      Regards.

12-Amethyst
August 14, 2016

Ok, I see now. What you do was a variation of the partial fraction decomposition. What you need to do, them, it's given a rational number, obtain this decomposition. The normal decomposition uses "división entera" (in spanish, don't know the words in english) operation, where can use the mod operator, but usually it's done with celing.

In the attached, your equivalent procedure, with a pseudo cumulant matrix.

Best regards.

Alvaro.

pseudo.gif

lvl10720-TurquoiseAuthor
20-Turquoise
August 19, 2016

  Or the similar question :

(1).PNG

        How to create a program function to solve vector v ?

              Regards.

lvl10720-TurquoiseAuthor
20-Turquoise
August 19, 2016

  I don't know how to create a program function to solve vector v, the above, and just solve it with "by hand" :

(2).PNG

           Best Regards.