Brilliant and Problem Solving Streaks

Algebra Level 3

Brilliant has a feature that records the number of consecutive days that a certain user has been solving problems. This is called the problem solving streak. The problem solving streak for a user is shown next to a small fire icon, as shown above.

Suppose a user on Brilliant starts solving problems on January 1 , 2015 1, 2015 and gains a problem solving streak of 2015 2015 days. Let A A represent the date on which this user last solves problems, based on the streak. Let M , D , M, D, and Y Y be the positive integers that represent the month, day, and year, respectively, of A . A.

Given that there are 181 181 days between January 1 1 and June 30 30 , inclusive, of a leap year, calculate M + D + Y . M + D + Y.

(As an example, if the date in question were March 24 , 2010 , 24, 2010, or 03 / 24 / 2010 , 03/24/2010, M = 3 , D = 24 , M = 3, D = 24, and Y = 2010. Y = 2010. )


The answer is 2035.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Steven Yuan
Jan 6, 2015

If I mention any years on their own, I mean the first day of that year. or January 1. 1.

First, let's find Y . Y. We do this by figuring out the greatest number of days that could have passed between 2015 2015 and Y , Y, inclusive; the number of days is no greater than 2015. 2015. There are 365 365 days in a regular year and 366 366 days in a leap year. So, we start counting: 365 365 days pass from 2015 2016 , 2015 - 2016, 365 + 366 = 731 365 + 366 = 731 days pass from 2015 2017 2015 - 2017 (this is because 2016 2016 is a leap year), and so on until we get to 2021. 2021. At this point, the total number of days that have passed since 2015 2015 is 2192 , 2192, which is greater than 2015. 2015. Thus, we get Y = 2020 . \boxed{Y = 2020}.

The number of days between 2015 2015 and 2020 , 2020, inclusive, is 1826 , 1826, which leaves 2015 1826 = 189 2015 - 1826 = 189 days left for 2020 , 2020, starting from January 1 1 . However, there are 181 181 days between the start of January and the end of June. Thus, starting from July 1 , 1, there are 189 181 = 8 189 - 181 = 8 days left. This gives July 8 8 as our final day. July, written as a number, is 7 , 7, so M = 7 . \boxed{M = 7}. Finally, D = 8 . \boxed{D = 8}.

This gives M + D + Y = 7 + 8 + 2020 = 2035 . M + D + Y = 7 + 8 + 2020 = \boxed{2035}.

(I have boxed the values for the month, day, and year in case you do not want to read everything.)

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...