A question about perfect squares

  • Thread starter Thread starter Ore4444
  • Start date Start date
  • Tags Tags
    Squares
Click For Summary

Homework Help Overview

The original poster attempts to find a 4-digit perfect square with unique digits, where the square root is a prime number. The task involves identifying multiple valid solutions.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • Some participants suggest squaring prime numbers within a specified range to find suitable perfect squares. Others question the initial problem's placement in a physics forum and the constraints regarding the maximum value of 4-digit numbers.

Discussion Status

Participants have engaged in exploring the problem, with some providing guidance on potential methods. There are indications of multiple interpretations regarding the problem's requirements, and while some answers have been shared, there is no explicit consensus on the complete set of solutions.

Contextual Notes

There is a noted confusion regarding the upper limit for the square root, with discussions about the range of prime numbers and the implications of the problem's phrasing. The original poster has expressed a need for all possible answers, but later clarifies that only one is necessary.

Ore4444
Messages
4
Reaction score
0

Homework Statement


I've been given a task to find "A 4-digit perfect square whose digits are all unique, and whose square root is a prime number".
That's all. I know that there are about 10 possible answers and I need them all.
Thanks a lot for any future help.
 
Physics news on Phys.org
Did you really mean to put this in the physics section?

Square root of 1000 is 31 point something so that would be too small. Square root of 1000 is, of course, 100 so you are looking for prime numbers between 32 and 100.
Seems to me, squaring all primes between 32 and 100 would do it would give you the answer.
 
I wasn't sure if this was the right forum either but I thank you for your answer.
I'll try to do what you said. :)
 
And there are exactly 9 of them.
 
HallsofIvy said:
Did you really mean to put this in the physics section?

Square root of 1000 is 31 point something so that would be too small. Square root of 1000 is, of course, 100 so you are looking for prime numbers between 32 and 100.
Seems to me, squaring all primes between 32 and 100 would do it would give you the answer.

Why is square root of 1000, 100? Why only up until 1000? The maximum value possible for 4 digit number is 9999

[EDIT]

Oh I just realized you meant to put 10000 lol, ok fair enough
 
Last edited by a moderator:
Thank you.
I solved it. The answer was 5329.
 
Ore4444 said:
Thank you.
I solved it. The answer was 5329.

That's one answer. There are more answers, just to let you know.
 
CompuChip said:
And there are exactly 9 of them.

As I said :smile:

But the question was
I've been given a task to find "A[/color] 4-digit perfect square [...]
so I guess one is enough.
 
Oh yes, but I needed only this one.
 
  • #10
Mathematica is cool :cool: :biggrin:

Code:
Table[If[PrimeQ[n] && Length[Union[IntegerDigits[n^2]]] == 4, 
   Print["n = ", n, "; n^2 = ", n^2]], 
     {n, Floor[Sqrt[999]], Sqrt[10000]}];

n = 37; n^2 = 1369
n = 43; n^2 = 1849
n = 53; n^2 = 2809
n = 59; n^2 = 3481
n = 61; n^2 = 3721
n = 71; n^2 = 5041
n = 73; n^2 = 5329
n = 79; n^2 = 6241
n = 89; n^2 = 7921
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
14
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
3
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K