What is the largest positive integer n , that is not a multiple of 10, such that
⎣ ⎢ ⎢ ⎢ 1 0 0 n 2 ⎦ ⎥ ⎥ ⎥
is a perfect square?
Notation : ⌊ ⋅ ⌋ denotes the floor function .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
That's a very efficient way to obtain a bound on s , and hence n .
Thank you.
Very nicely done :) I love how you have used the facts that n 2 − ( 1 0 s ) 2 is a two digit number and n > 1 0 s to find an upper bound on s .
Log in to reply
Thank you, but what is nice, how we can have for one problem several solutions. It shows how we think differently but on the right track.
Log in to reply
I agree, it is amazing to see that a problem can be solved in a variety of ways, and yet they all lead to the same result.
@Hana Nakkache - very elegant! Well done. -
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
|
1 2 3 4 5 6 7 8 9 |
|
Let us assume a number of the form
n
=
1
0
j
+
k
, both
j
and
k
positive, and
k
is a single digit from
1
to
9
.
Then
n
2
=
1
0
0
j
2
+
2
0
j
k
+
k
2
, and
1
0
0
n
2
=
j
2
+
5
j
k
+
1
0
0
k
2
.
The next larger perfect square to this is
(
j
+
1
)
2
=
j
2
+
2
j
+
1
.
The difference between these two values is
2
j
+
1
−
5
j
k
−
1
0
0
k
2
.
Since the largest value of
k
is
9
, the smallest this difference can be is
0
.
2
j
+
0
.
1
9
, for any value of
j
.
So, there is no value of
k
that can increase the argument of the floor function to the next perfect square.
So we are limited to values of
j
and
k
which yield the same perfect square as
j
2
.
For this to be true,
5
j
k
+
1
0
0
k
2
must be less than
1
.
For the smallest value of
k
(since we are asked for the largest
n
),
5
j
+
0
.
0
1
<
1
.
Then
j
<
4
.
9
5
, and since
j
is a whole number,
j
=
4
. As
k
=
1
,
n
=
4
1
.
Wow, great solution! The steps are laid out clearly, and each step follows naturally from the previous one.
An alternate way to show that the floor function does not increase to the next perfect square is by showing that 1 0 j ≤ 1 0 j + k < 1 0 ( j + 1 ) , therefore j 2 ≤ 1 0 0 ( 1 0 j + k ) 2 < ( j + 1 ) 2 and hence ⌊ 1 0 0 ( 1 0 j + k ) 2 ⌋ = j 2 .
For completeness, after we show that j = 4 is the maximum value for j , we should also show that k = 1 is the maximum for k . In other words, once we know that n < 5 0 , and we have shown that n = 4 1 works, we should also show that any n ≥ 4 2 does not work.
If I try any no. Say 241
Then it also satisfy the condition
Let (n²/100)=A²
Put n =241 ,
A²=(241²/100)
A=24.1
And if I use 41 then A comes out to be 4.1
So please explain
Log in to reply
You are missing the floor function , which is denoted by the special brackets ⌊ ⌋ . If n = 2 4 1 , then we want ⌊ 1 0 0 2 4 1 2 ⌋ to be a perfect square
⌊ 1 0 0 2 4 1 2 ⌋ = ⌊ 1 0 0 5 8 0 8 1 ⌋ = ⌊ 5 8 0 . 8 1 ⌋ = 5 8 0 . Since 5 8 0 is not a perfect square, it does not work.
Any perfect square can be derived from ⌊ 1 0 0 p 2 ⌋ if p is a positive integer and multiple of 10 (or negative integer, but the question wants a positive integer). So the answer to this question is an integer n : p + 1 ≤ n ≤ p + 9 , or an integer n : n = p + 1 ≥ p + 1 0 . I'm not sure there exists a number realm where that second option makes sense, so the first option is where the answer exists.
This question asks for the greatest n. The greatest n would be as few units greater than p as possible (i.e. n = p + 1 ) while also being as much greater than p 2 as possible without being so greater that it changes anything greater than the tens digit, i.e. not 100 or more greater. Thus you get something like so:
( p + 1 ) 2 < p 2 + 1 0 0
Solve that and you get p < 4 9 . 5 . p is an integer and multiple of 10, so Price Is Right that answer and you get p = 4 0 and n = 4 0 + 1 = 4 1 □
How is it 41
Log in to reply
Solve ( p + 1 ) 2 < p 2 + 1 0 0 and you get p < 4 9 . 5 (is that where you don't understand things?). Since p is an integer and multiple of 1 0 , at maximum p = 4 0 . Due to the question asking for a maximum, I deduce that for the maximum p , n = p + 1 . So n = 4 0 + 1 = 4 1 .
Did that help?
Let me try to summarize this solution:
The next step you did is not very clear to me. How do you deduce n is indeed 41?
Log in to reply
You messed all the variables up, added new ones, and just in general made it more difficult, but I think I get what you're doing here...
If k < 5 and an integer, then at maximum k = 4 . At maximum, an increase of 1 to 10k will give a maximal increase from ( 1 0 k ) 2 to ( 1 0 k + 1 ) 2 while that increase remains less than 100. So, n = 1 0 k + 1 . Input k and there you have it.
Did that help? I'm not quite sure I get what you're doing here so maybe that didn't help.
Let A be some integer. Then, ⌊ 1 0 0 n 2 ⌋ = A 2
⌊ 1 0 0 n 2 ⌋ = 1 0 0 n 2 − h where 0 ≤ h < 1
n = 1 0 A 2 + h
But it is given that n is not a multiple of 1 0 , thus A 2 + h should cancel out 10 i.e A 2 + h = 1 0 0 n 2 Also since 0 ≤ h < 1 , therefore h represents the decimal part of A 2 + h . Also clearly A 2 + h should have 2 decimal places with the integral part A 2 being a perfect square. We can easily find by trial and error that the largest number n satisying this criteria is 4 1 , since 4 1 2 = 1 6 8 1 and thus in this case A 2 + h = 1 6 . 8 1 where 16 is a perfect square and 0.81 is h and the number has 2 decimal places. If we go ahead of 41 we'll observe that we never get the integral part as a perfect square.
Hence 4 1 is the answer.
I am trying to understand your solution, but I finding the reasoning to be circular when you introduce Z . Since A 2 + h = 1 0 0 n 2 , isn't Z the same as n ?
Also, in the last paragraph, do you mean to say h represents the decimal part of A 2 + h instead of A 2 + h , and that A 2 + h should have 2 decimal places instead of A 2 + h ?
Log in to reply
I am sorry for the error. I have made the changes to the solution. Thanks for pointing out.
It was not at all clear to me that the partial square brackets signified "The Integer of". This should have been made more clear in the problem statement.
Log in to reply
I see that the problem has been edited to clarify this :)
Problem Loading...
Note Loading...
Set Loading...
Suppose that removing the last two digits of n 2 leaves the perfect square s 2 .
Then 0 < n 2 − ( 1 0 s ) 2 < 1 0 0 . Thus n 2 − ( 1 0 s ) 2 = ( n + 1 0 s ) ( n − 1 0 s ) ≥ n + 1 0 s > 1 0 s + 1 0 s = 2 0 s , so 2 0 s < 1 0 0
Therefore s ≤ 4 and hence n 2 < 1 0 0 + ( 1 0 s ) 2 ≤ 1 7 0 0 .
Therefore n ≤ 4 1 , and 4 1 2 = 1 6 8 1 , so n = 4 1 works.