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
Fill the thousands, hundreds, and tens digits arbitrarily. Now there are exactly three ways to fill the ten-thousands digit. This easily gives 103⋅3=3000 numbers.
There are 15000 5 digit numbers that are divisible by 6.The first i.e the smallest one ending in 2.The unit digit of these numbers make a pattern,2,8,4,0,6,2,8,4,0,6,2....Hence 1 in every 5 consecutive numbers ends in 4.Hence answer to the problem is ,15,000/5=3000.
@Adarsh Kumar
–
I know we must have the shorter one , but if the shorter method is not applicable to some other problem then what will you do? If we do not get a pattern in some other problem this method will not work.
@Nihar Mahajan
–
True!Let me tell you the method of solving this.Because ai≤9,you can assume a1=9−x,a2=9−y,a3=9−z,a4=9−p.Notice here that x,y,z,p are non-negative integers.Now you can consider every case and use stars and bars.But it would be very tedious.
@Parth Lohomi
–
Of course , a short and quick method is always preferred.But we must know different approaches to solve.May be the "short and quick" method does not work in some problems.In that case such different approaches may prove useful.Hence I prefer doing the same problem using different methods , rather that leaving it by solving it with the shortest method. :)
It can also be seen as the number of four digit numbers that are divisible by 3, because the rest of the digits simply need to add upto a number that is one less than a multiple of 3. Under 1000 you have 333 such numbers and under a 10000 you have 3333 numbers divisible by 3. So we get 3000 by subtraction.
First term is 10014 and last term is 99984 (can easily be found by hit and trial method).
These are the corresponding terms of an arithmetic progression with common difference = 30.
An = a + (n-1)d,
99984 = 110014 + (n-1) 30,
n = 3000
The numbers are of the form 10k+4. We set 10k+4=6z or 5k+2=3z. We see that when k=-1 and z = -1 there is a solution note that when k= -1+3b and z = -1+5b. 5k+2= 5(-1+3b)+2=15b-3=3(5b-1)=3z. By euclidean algorithm there is only one solution in the interval where k= -2,-1,0 and z= -4,-3,-2,-1,0. eg one solution for (k,w) in this specified domain. Now we have 6z=6(-1+5b)=30b-6. All such numbers are of this form. Now
10000=<30b-6<=99999. 334<=b<=3333. Number of integers in the range = no of integers from 1 to 3333 - no of integers from 1 to 333 = 3333-333=3000
we form a AP here : 10014, 10044, 10074............................................................99984
therefore no. of terms n= 99984-10014/30 +1 =3000
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
Fill the thousands, hundreds, and tens digits arbitrarily. Now there are exactly three ways to fill the ten-thousands digit. This easily gives 103⋅3=3000 numbers.
There are 15000 5 digit numbers that are divisible by 6.The first i.e the smallest one ending in 2.The unit digit of these numbers make a pattern,2,8,4,0,6,2,8,4,0,6,2....Hence 1 in every 5 consecutive numbers ends in 4.Hence answer to the problem is ,15,000/5=3000.
Log in to reply
Damn simple prob!Two second question!
Nice solution!
Log in to reply
Thanx bud!
Please help me in my approach:
Let the required 5 digit number be a1a2a3a44
Since the number is already divisible by 2 we need to assure the divisibility of 3
So , i=1∑4ai≡−4≡2(mod3)
So , i=1∑4ai=3k+2 where ⎩⎪⎨⎪⎧1≤k≤111≤a1≤90≤a2,a3,a4≤9
Indeed , finding solutions to this equation will fetch the required answer.
Log in to reply
No need to complicate it this much bud!
Log in to reply
But we must learn different methods.May be this method can help in some other problem.
Log in to reply
Log in to reply
Log in to reply
ai≤9,you can assume a1=9−x,a2=9−y,a3=9−z,a4=9−p.Notice here that x,y,z,p are non-negative integers.Now you can consider every case and use stars and bars.But it would be very tedious.
True!Let me tell you the method of solving this.BecauseLog in to reply
Log in to reply
It can also be seen as the number of four digit numbers that are divisible by 3, because the rest of the digits simply need to add upto a number that is one less than a multiple of 3. Under 1000 you have 333 such numbers and under a 10000 you have 3333 numbers divisible by 3. So we get 3000 by subtraction.
30
First term is 10014 and last term is 99984 (can easily be found by hit and trial method). These are the corresponding terms of an arithmetic progression with common difference = 30. An = a + (n-1)d, 99984 = 110014 + (n-1) 30, n = 3000
The numbers are of the form 10k+4. We set 10k+4=6z or 5k+2=3z. We see that when k=-1 and z = -1 there is a solution note that when k= -1+3b and z = -1+5b. 5k+2= 5(-1+3b)+2=15b-3=3(5b-1)=3z. By euclidean algorithm there is only one solution in the interval where k= -2,-1,0 and z= -4,-3,-2,-1,0. eg one solution for (k,w) in this specified domain. Now we have 6z=6(-1+5b)=30b-6. All such numbers are of this form. Now 10000=<30b-6<=99999. 334<=b<=3333. Number of integers in the range = no of integers from 1 to 3333 - no of integers from 1 to 333 = 3333-333=3000
we form a AP here : 10014, 10044, 10074............................................................99984 therefore no. of terms n= 99984-10014/30 +1 =3000