For every real positive integer $$n = \overline{a_ka_{k-1}a_{k-2}...a_0}$$ can be written as $$n = a_0 \times 10^0 + a_1 \times 10^1 + ... + a_k \times 10^k$$. For example, $$576 = 5 \times 10^2 + 7 \times 10^1 + 6 \times 10^0$$.

For every real positive integer $$A$$, let $$S(A)$$ denotes the sum of the digits of $$A$$. For example, $$S(576) = 5 + 7 + 6 = 18$$.

Question 1. For real positive integer $$N = \overline{a_ka_{k-1}a_{k-2}...a_0}$$, prove that $$S(N) - N$$ is divisible by $$3$$.

Question 2. From Q1, please explain why is $$N$$ divisible by $$3$$ if and only if $$S(N)$$ is divisible by $$3$$

Question 3. Let $$m$$ and $$n$$ be two positive real integer. And let $$x$$ be a number that is obtained by concatenating $$m$$ and $$n$$. For example, if $$m = 23$$ and $$n = 546$$, then $$x = 23546$$. Prove that $$S(x) - S(m) - S(n)$$ is divisible by $$3$$. And also, prove that $$x = m + n \space (\text{mod} \space 3)$$.

Question 4. A sequence $$b_1 , b_2 , b_3, ...$$ defined as written below.

$$b_1 = 1; \quad b_2 = 12; \quad b_3 = 123; \quad b_4 = 1234; b_5 = 12345; \space b_6 = 123456 \space \text{etc}$$.

For every positive integer $$k$$, prove that $$b_{3k + 1}$$ is not divisible by $$3$$.

Question 5. Based on the sequence from Q4, among $$b_1 , b_2 , b_3 , ... , b_{2017}$$, how many number are there that are divisible by $$3$$ ?

Note by Fidel Simanjuntak
1 year, 3 months ago

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold
- bulleted- list
• bulleted
• list
1. numbered2. list
1. numbered
2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in $$...$$ or $...$ to ensure proper formatting.
2 \times 3 $$2 \times 3$$
2^{34} $$2^{34}$$
a_{i-1} $$a_{i-1}$$
\frac{2}{3} $$\frac{2}{3}$$
\sqrt{2} $$\sqrt{2}$$
\sum_{i=1}^3 $$\sum_{i=1}^3$$
\sin \theta $$\sin \theta$$
\boxed{123} $$\boxed{123}$$