Take a test Sign in 中文
← Exercise 765 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Digits (38)
Primes (31)
Fractions, Decimals, and the Floor Function (18)
Divisors, GCD, and LCM (36)
Divisibility (59)
Bases (15)
Modular Arithmetic (42)
Integer Equations (27)

Exercises and their solutions

Exercise 765
How many of the first ten numbers of the sequence $11,1111,111111,\ldots$ (the $k$th number consists of $2k$ ones) are prime?
← Back to Problem 765
Solution
  1. $\underbrace{11\ldots1}_{2k}=11\cdot\underbrace{1010\ldots101}_{2k-1\text{ digits}}$.
  2. For $k\ge2$ both factors exceed $1$, so the number is composite; for $k=1$, $11$ is prime.
  3. So exactly $\boxed{1}$ is prime.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year