I am going to tell you one of the fastest method to find to day of any date from the year just by giving out 4 inputs. For this method you must know the code of the day and months.
These are the codes for the month:-
Jan=1
Feb=4
Mar=4
Apr=0
May=2
Jun=5
Jul=0
Aug=3
Sept=6
Oct=1
Nov=4
Dec=6
These are the codes for the days:-
Sun=1
Mon=2
Tue=3
Wed=4
Thu=5
Fri=6
Sat=0
Let's take an example:-
Find which day was
Let's start solving by giving the four inputs:-
--> Date =
--> Last 2 digits of the year =
--> Number of leap years occurred in that century = 67/4 =
Note that for this input JUST TAKE THE QUOTIENT NOT THE REMAINDER.
--> Code of the month =
By adding all the inputs we get the answer
Now, divide the result by 7 and ONLY TAKE THE REMAINDER.
= = 14 and the remainder is 4.
And 4 is the code which day you have to find.
And 4 is the code of
So, the answer is
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
There are no comments in this discussion.