This discussion board is a place to discuss our Daily Challenges and the math and science
related to those challenges. Explanations are more than just a solution — they should
explain the steps and thinking strategies that you used to obtain the solution. Comments
should further the discussion of math and science.
When posting on Brilliant:
Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.
Markdown
Appears as
*italics* or _italics_
italics
**bold** or __bold__
bold
- bulleted - list
bulleted
list
1. numbered 2. list
numbered
list
Note: you must add a full line of space before and after lists for them to show up correctly
# 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"
Math
Appears as
Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.
2 \times 3
2×3
2^{34}
234
a_{i-1}
ai−1
\frac{2}{3}
32
\sqrt{2}
2
\sum_{i=1}^3
∑i=13
\sin \theta
sinθ
\boxed{123}
123
Comments
Here is a combinatorial solution.
For the first part of my solution, instead of Sk(n), i will use Zk(n)=nk.
Zk(n) represents the number of ways to color a strip of k blocks using n colors.
The sum k=0∑r−1(kr)Zk(n) represents the number of ways to choose some k blocks of a strip of length r and color them with n colors. The number of blocks k that we choose cannot equal r. If we were allowed to choose all blocks, then we can color all the non-chosen fields with a new color. Now, each block could get painted with each of n+1 colors, and the number of ways to do that is (n+1)r. However, we must discard the cases where all blocks were painted using the old n colors, since we cannot choose all blocks (remember k goes up to r−1). So, we arrive at k=0∑r−1(kr)Zk(n)=(n+1)r−nr.
Note that (p+1)k−pk=∑i=0k−1(ik)pi. Also note that ∑p=1q−1(p+1)k−pk=qk−1. Hence ∑p=1q−1∑i=0k−1(ik)pi=qk−1.
We wish to determine (0r)(10+20+...+n0)+(1r)(11+21+...+n1)+...+(r−1r)(1r−1+2r−1+...+nr−1). Note that this is equal to ∑p=1n∑i=0r−1(ir)pi. Using our previously proved result, we conclude that the answer is (n+1)r−1.
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Here is a combinatorial solution.
For the first part of my solution, instead of Sk(n), i will use Zk(n)=nk.
Zk(n) represents the number of ways to color a strip of k blocks using n colors.
The sum k=0∑r−1(kr)Zk(n) represents the number of ways to choose some k blocks of a strip of length r and color them with n colors. The number of blocks k that we choose cannot equal r. If we were allowed to choose all blocks, then we can color all the non-chosen fields with a new color. Now, each block could get painted with each of n+1 colors, and the number of ways to do that is (n+1)r. However, we must discard the cases where all blocks were painted using the old n colors, since we cannot choose all blocks (remember k goes up to r−1). So, we arrive at k=0∑r−1(kr)Zk(n)=(n+1)r−nr.
Since we have Sk(n)=m=1∑nZk(m)
We arrive at our solution:
k=0∑r−1Sk(n)(kr)
=k=0∑r−1(kr)m=1∑nZk(m)
=m=1∑nk=0∑r−1Zk(m)(kr)
=m=1∑n((m+1)r−mr)
=m=1∑n(m+1)r−m=1∑nmr
=m=2∑n+1mr−m=1∑nmr
Now most terms vanish,
=(n+1)r−1r
=(n+1)r−1
And there you go!
Note that (p+1)k−pk=∑i=0k−1(ik)pi. Also note that ∑p=1q−1(p+1)k−pk=qk−1. Hence ∑p=1q−1∑i=0k−1(ik)pi=qk−1.
We wish to determine (0r)(10+20+...+n0)+(1r)(11+21+...+n1)+...+(r−1r)(1r−1+2r−1+...+nr−1). Note that this is equal to ∑p=1n∑i=0r−1(ir)pi. Using our previously proved result, we conclude that the answer is (n+1)r−1.
Log in to reply
The 2nd math equation should be p=0∑q−1[(p+1)k−pk]=qk−0k=qk−1.
EDIT: It should be p=1∑q−1[(p+1)k−pk]=qk−1k=qk−1 as Sreejato B. has pointed out below.
Log in to reply
It has been corrected. I think you meant ∑p=1q−1[(p+1)k−pk]=qk−1k=qk−1. Please correct me if I am wrong.
Update:- It has been corrected.
May be you are also doing the same mistake as me. The answer given is (n+1)r−1