dirk_mec1
- 755
- 13
Homework Statement
Given are two integers a and b: a has 2 digits and b has 4 digits. All digits are smaller than 9. a and b are such that a^2 = b.
If all digits are raised by one this is still valid. What are a and b?
Homework Equations
N/a
The Attempt at a Solution
Suppose a = a_0 \cdot 10^0 + a_1 \cdot 10^1
and b = b_0 \cdot 10^0 + b_1 \cdot 10^1 + b_2 \cdot 10^2 + b_3 \cdot 10^3
then it gets messy if I use a^2 = b and if I increase all digits by one.
I think should get two equations with 2 unknowns.