You are here:

Advanced Math/Integer arithmetic.

Advertisement


Question
Hi,
Let x and y be positive integers such that x^2 + 3x +y^2 = 404. What is the value of x + y^3? Find all possible solutions.

How can I solve this using Excel (I have never used Excel for maths before, so I need some background information).

Thankyou very much,

Tim

Answer
Questioner: Tim
Country: Australia
Category: Advanced Math
Private: No
Subject: Problem using MS Excel
Question: Hi,
Let x and y be positive integers such that x^2 + 3x +y^2 = 404. What is the value of x + y^3? Find all possible solutions.

How can I solve this using Excel (I have never used Excel for maths before, so I need some background information).

Thankyou very much,

Tim
........................................
I am not sure what your question asks -- is  x + y^3 always the same number?  I don't think so.

However, a couple of things stand out:

If x^2 + 3x +y^2 = 404,

AND, since x^2 + 3x is always even, y^2 is always even.

Since 20^2 is 400, you can conclude that the possible values of y are only 2,4,6...,20.

Now try each and solve for x.  For example:

y = 20:  x^2 + 3x + 400 = 404

x^2 + 3x - 4 = 0

(x + 4)(x - 1) = 0

x = 1.

y = 18:  x^2 + 3x + 324 = 404

x^2 + 3x - 80  = 0

Does not factor; no integer solutions.

Etc.  Only 8 more to try.

I have used Excel, but I am not an expert on using it.

Advanced Math

All Answers


Answers by Expert:


Ask Experts

Volunteer


Paul Klarreich

Expertise

I can answer questions in basic to advanced algebra (theory of equations, complex numbers), precalculus (functions, graphs, exponential, logarithmic, and trigonometric functions and identities), basic probability, and finite mathematics, including mathematical induction. I can also try (but not guarantee) to answer questions on Abstract Algebra -- groups, rings, etc. and Analysis -- sequences, limits, continuity. I won't understand specialized engineering or business jargon.

Experience

I taught at a two-year college for 25 years, including all subjects from algebra to third-semester calculus.

Education/Credentials
-----------

©2012 About.com, a part of The New York Times Company. All rights reserved.