Find the smallest number which 45056 should be multiplied to get a perfect square
Answers
Answered by
2
Answer:
The smallest number 45056 can be multiplied by to get a perfect square is 11.
sqrt(45056 * 11) = 704
Step-by-step explanation:
I did it using a perl script, testing every number from 1 forward up to 100, and if the square root of the product yielded an integer answer, it printed out, otherwise not. As you can see, the first number that worked was 11, the next was 44, and the next was 99. All of the others were decimal answers, so they didn't print out.
#!/usr/bin/perl
$num = 1;
while ($num != 100)
{ $num++;
$_ = sqrt(45056*$num);
if (/\D/) {
} else { print "$_\t\t$num\n"; }
}
Output:
704 11
1408 44
2112 99
Similar questions