Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to find all naturals $n$ such that $\sqrt{1\smash{\underbrace{4\cdots4}_{n\text{ times}}}}$ is an integer?

share|cite|improve this question
Do you mean $\sqrt{1\underbrace{4\cdots4}_{n-times}}$ or perhaps$\sqrt{\underbrace{1414\cdots14}_{n-times}}$? – Quixotic Jul 14 '12 at 1:24
I mean The first one . – Frank Jul 14 '12 at 1:27
There will be only two integer cases for $n = 2$ and $n = 3$ and for everything else $$ \sqrt{1\underbrace{4\cdots4}_{n-times}}=2\sqrt{36\underbrace{11\cdots1}_{(n-2)-t‌​imes}}$$ – Quixotic Jul 14 '12 at 1:37
I changed the TeX code from {}_{n-times} to {}_{n\text{ times}, so that instead of $1\underbrace{4\cdots4}_{n-times}$ we see $1\underbrace{4\cdots4}_{n\text{ times}}$. The hyphen looked like a minus sign (longer than a hyphen) since it was in math mode, and the "times" got italicized and needed something to artificially separate it from the $n$, since it was in math mode. – Michael Hardy Jul 14 '12 at 1:47

For $n \geq 4$ your number is equal to $4444$ modulo $10000$, and in particular modulo $16$. If it were a square, then $4444$ would be a square modulo $16$, implying $1111$ is a square modulo $4$. But $1111=3$ mod $4$, contradiction.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.