Take a test Sign in 中文
← Exercise 933 →
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 933
How many of the first $100$ numbers in the sequence $11,101,1001,10001,\dots$ are divisible by $7$?
← Back to Problem 933
Solution
  1. The numbers are $10^n+1$ for $n=1,\dots,100$. Mod $7$, $10\equiv3$ and $3^3\equiv-1$, $3^6\equiv1$; so $10^n\equiv-1$ exactly when $n\equiv3\pmod6$.
  2. $n=3,9,\dots,99$: $\boxed{17}$ values.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year