Weekly contest #3

(Ended)

Standings

Q1.

A frog is placed at the origin on the number line, and moves according to the following rule: in a given move, the frog advances to either the closest point with a greater integer coordinate that is a multiple of 3, or to the closest point with a greater integer coordinate that is a multiple of 13. A move sequence is a sequence of coordinates that correspond to valid moves, beginning with 0 and ending with 39. For example, 0, 3, 6, 13, 15, 26, 39 is a move sequence. How many move sequences are possible for the frog?

Answer must be a floating-point or integer value and precision error less than 10^-6 is allowed.

Q2.

Each of two boxes contains both black and white marbles, and the total number of marbles in the two boxes is 25. One marble is taken out of each box randomly. The probability that both marbles are black is 27/50, and the probability that both marbles are white is m/n, where m and n are relatively prime positive integers. What is m + n?

Answer must be a floating-point or integer value and precision error less than 10^-6 is allowed.

Q3.

Cozy the Cat and Dash the Dog are going up a staircase with a certain number of steps. However, instead of walking up the steps one at a time, both Cozy and Dash jump. Cozy goes two steps up with each jump (though if necessary, he will just jump the last step). Dash goes five steps up with each jump (though if necessary, he will just jump the last steps if there are fewer than 5 steps left). Suppose Dash takes 19 fewer jumps than Cozy to reach the top of the staircase. Let s denote the sum of all possible numbers of steps this staircase can have. What is the sum of the digits of s?

Answer must be a floating-point or integer value and precision error less than 10^-6 is allowed.

Q4.

Given a triangle with side lengths 15, 20, and 25, find the triangle's shortest altitude.

Answer must be a floating-point or integer value and precision error less than 10^-6 is allowed.

Q5.

Given that a, b, and c are non-zero real numbers, define (a, b, c) = a/b + b/c + c/a, find (2,12,9).

Answer must be a floating-point or integer value and precision error less than 10^-6 is allowed.