Questions tagged [square-numbers]

This tag is for questions involving square numbers. A non-negative integer $n$ is called a square number if $n = k^2$ for some integer $k$. Consider using with the [elementary-number-theory] or [number-theory] tags.

A number $n$ is a square number if and only if it is the square of an integer. That is, if $n = k^2$ for some integer $k$.

The name square number, or perfect square, comes from the fact that these particular numbers of objects can be arranged to fill a perfect square.

The square numbers begin $$0, 1, 4, 9, 16, 25, 36, 49, ...$$

The $k$th square number is given by $k^2$ with the zeroth square being $0$. Square numbers are strictly non-negative as $k^2 \ge 0$ for all real $k$. There are $\lfloor \sqrt{n} \rfloor+1$ square numbers in the range $[0, n]$.

References:

https://en.wikipedia.org/wiki/Square_number

1340 questions
13
votes
5 answers

Shortcut to finding the square-root of a perfect-square?

I've been trying to speed up an algorithm where the most expensive operation is the square-root. However, I can often guarantee that the input value is a perfect-square. I'm curious to know if there are any algorithms that will find the square-root…
6
votes
2 answers

A mathematical phenomenon regarding perfect squares....

I was working on identifying perfect squares for one of my programs regarding Pythagorean triplet. And I found that for every perfect square if we add its digits recursively until we get a single digit number, e.g. 256 -> 13 -> 4 etc. we get the…
5
votes
3 answers

Find $a$ for which $(a-3)(a-7)$ is a perfect square

The only solutions seem to be 3 and 7 but I can't prove that there are no others. Context: Find every value for integer a, for which $x^2-(a+5)x+5a+1$ expression can be factored as $(x+b)(x+c)$ where b and c are integers. $x=\frac{a+5 \pm…
5
votes
3 answers

Square root of zero

I'm old $35$ but starting just now with maths, so sorry if I ask non complex questions. $0$ is the only number that just has one square root. Is the explanations for this simply that 0 in arithmetic does not have a sign. If this is the explanation…
Jessica
  • 59
  • 1
  • 2
5
votes
1 answer

Have I just discovered an easy way to square numbers?

Choose any number, $x$: say, $x = 876$ (you can pick any $n$ digit number) Now, square the number -> $876 * 876 = 767376$ But now, If I ask you the square of $ x + 1$ --> $876 + 1 = 877$. You can't solve it mentally (in most of the cases). But…
Anoneemus
  • 193
4
votes
2 answers

Perfect squares, cubes and fifth powers $ \leq 10^8 $

I've the following question: Find number of numbers $ \leq 10^8 $ which are neither perfect squares, nor perfect cubes nor perfect fifth powers. What I currently have is: Number of perfect squares: $ n_1 = \sqrt[2]{10^8} = 10^4 $. Number of…
hjpotter92
  • 3,049
4
votes
2 answers

Calculate more digits of square root of 2?

How would I calculate the next digit of the decimal representation of square root of two? 1.4142135... Say I want to calculate the digit after 5... how would I do that? I am not allowed to use a calculator.
Jin
  • 71
4
votes
2 answers

$\sqrt{a^2}$ in integrals

Hello we all know that $$\sqrt {a^2}=|a|$$ so when we have $$a^2=5$$ that is $$|a|=\sqrt5$$ and $$a=\pm\sqrt5$$ but i very often see that when solving integrals only the positive value is usually considered, for eg. Here in this example since…
Hfdssdjns
  • 87
  • 7
3
votes
4 answers

Prove a square can't be written $5x+ 3$, for all integers $x$.

Homework question, should I use induction?.. Help please
3
votes
2 answers

Find all the numbers $\overline{abcd}$ (4-digit number in base 10) that check the relationship. $5a^2+5b^2+2c^2+2d^2-2ac-2cd-4ab-4bd-16a+16b-4d+20=0$

the question Find all the numbers $\overline{abcd}$ (4-digit number in base 10) that check the relationship. $$5a^2+5b^2+2c^2+2d^2-2ac-2cd-4ab-4bd-16a+16b-4d+20=0$$ my idea I tried grouping them in a whole perfect square or I tried using formulas…
IONELA BUCIU
  • 1,157
  • 1
  • 17
3
votes
1 answer

Every non-square number is given by the sequence $a(n) = n + \Big\lfloor \frac 12 + \sqrt n\Big\rfloor$

Prove that every non-square number is given by the sequence $$a(n) = n + \Big\lfloor \frac 12 + \sqrt n\Big\rfloor$$ where $\lfloor x \rfloor$ represents the greatest integer less than or equal to $x$. Attempt: Let $n$ be some natural number. Then,…
MathMan
  • 8,974
  • 7
  • 70
  • 135
3
votes
4 answers

Playing with squares

Extending from particular examples I've found that $$n^2=\sum_{i=1}^{i=n-1} 2\, i+n$$ this is that for any square of side $n$ the area can be calculated in a simple way. Example For a square of side $7$, the result is: $2×1+2×2+2×3+\cdots +…
user436603
3
votes
3 answers

Is a number written in the square root/fraction form called a non-integer even if it can be simplified to an integer

This is very simple question, but I cannot get the ansewer from the internet. Is a number written in the square root/fraction form called a non-integer even if it can be simplified to an integer. For example 4/2, 12/4, sqr4, sqr64 etc... do these…
3
votes
1 answer

Find smallest integer $n$ so that $\sqrt{\frac{1^2+2^2+3^2+...+n^2}n}$ is an integer

Find smallest positive integer $n$ (not equal to $1$) so that $\frac{1^2+2^2+3^2+...+n^2}n$ is a perfect square. I tried to use : $1^2+2^2+3^2+...+n^2=\frac{n(n+1)(2n+1)}6$ That gives us $\frac{1^2+2^2+3^2+...+n^2}n=\frac{(n+1)(2n+1)}6$ I tried to…
3
votes
1 answer

How do I simplify the square root of a negative number squares?

How would I simplify $\sqrt{h^2}$, where $h$ is a negative number? The answer key says $-h$ but I don't understand the answer.
1
2 3
8 9