All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Three Squares (Posted on 2007-05-03) Difficulty: 2 of 5
I'm looking for a 4 digit square number where its first two digits are a square as are the last two.

What is its square root?

Incidentally, I'm not interested in the square of zero.

See The Solution Submitted by brianjn    
Rating: 3.0000 (4 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Python solution | Comment 6 of 9 |

The following is a solution in Python (a free programming language, ideal for these kinds of problems, and many others).

from math import sqrt
for n in [i*i for i in range(1+int(sqrt(1000)),int(sqrt(10000)))]:
   if int(sqrt(n/100)) == sqrt(n/100) != 0  and int(sqrt(n%100)) == sqrt(n%100) != 0:
      print sqrt(n)

  Posted by Ken Haley on 2007-05-05 00:29:47
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information