[u]Round 1[/u]


[b]p1.[/b] Today, the date $4/9/16$ has the property that it is written with three perfect squares in strictly increasing order. What is the next date with this property?


[b]p2.[/b] What is the greatest integer less than $100$ whose digit sumis equal to its greatest prime factor?


[b]p3.[/b] In chess, a bishop can only move diagonally any number of squares. Find the number of possible squares a bishop starting in a corner of a $20\times 16$ chessboard can visit in finitely many moves, including the square it stars on.

[u]Round 2 [/u]


[b]p4.[/b] What is the fifth smallest positive integer with at least $5$ distinct prime divisors?


[b]p5.[/b] Let $\tau (n)$ be the number of divisors of a positive integer $n$, including $1$ and $n$. Howmany positive integers $n \le 1000$ are there such that $\tau (n) > 2$ and $\tau (\tau (n)) = 2$?


[b]p6.[/b] How many distinct quadratic polynomials $P(x)$ with leading coefficient $1$ exist whose roots are positive integers and whose coefficients sum to $2016$?


[u]Round 3[/u]


[b]p7.[/b] Find the largest prime factor of $112221$.


[b]p8.[/b] Find all ordered pairs of positive integers $(a,b)$ such that $\frac{a^2b^2+1}{ab-1}$ is an integer.


[b]p9.[/b] Suppose $f : Z \to Z$ is a function such that $f (2x)= f (1-x)+ f (1-x)$ for all integers $x$. Find the value of $f (2) f (0) +f (1) f (6)$.


[u]Round  4[/u]


[b]p10.[/b] For any six points in the plane, what is the maximum number of isosceles triangles that have three of the points as vertices?


[b]p11.[/b] Find the sum of all positive integers $n$ such that $\sqrt{n+ \sqrt{n -25}}$ is also a positive integer.


[b]p12.[/b] Distinct positive real numbers are written at the vertices of a regular $2016$-gon. On each diagonal and edge of the $2016$-gon, the sum of the numbers at its endpoints is written. Find the minimum number of distinct numbers that are now written, including the ones at the vertices.


PS. You should use hide for answers. Rounds 5-8 have been posted   [url=https://artofproblemsolving.com/community/c3h3158474p28715078]here[/url]. and 9-12 [url=https://artofproblemsolving.com/community/c3h3162282p28763571]here[/url]. Collected [url=https://artofproblemsolving.com/community/c5h2760506p24143309]here[/url].
To solve the problem, we need to find the number of positive integers \( n \leq 1000 \) such that \( \tau(n) > 2 \) and \( \tau(\tau(n)) = 2 \). Here, \( \tau(n) \) denotes the number of divisors of \( n \).

1. **Understanding the conditions:**
   - \( \tau(n) > 2 \): This means \( n \) is not a prime number since prime numbers have exactly two divisors (1 and itself).
   - \( \tau(\tau(n)) = 2 \): This means \( \tau(n) \) is a prime number because only prime numbers have exactly two divisors (1 and itself).

2. **Analyzing \( \tau(n) \):**
   - For \( \tau(n) \) to be a prime number, \( n \) must be of the form \( p^{q-1} \) where \( p \) and \( q \) are primes. This is because the number of divisors of \( p^{q-1} \) is \( q \), and we need \( q \) to be a prime number.

3. **Finding valid \( n \) values:**
   - We need to find all \( n \leq 1000 \) such that \( n = p^{q-1} \) where \( p \) and \( q \) are primes.

4. **Counting the valid \( n \) values:**
   - We start by listing the primes \( p \) and \( q \) and checking the condition \( p^{q-1} \leq 1000 \).

   - For \( q = 2 \): \( n = p \) (prime numbers less than or equal to 1000)
     - There are 168 primes less than or equal to 1000.

   - For \( q = 3 \): \( n = p^2 \) (squares of primes less than or equal to 1000)
     - The largest prime \( p \) such that \( p^2 \leq 1000 \) is 31 (since \( 31^2 = 961 \)).
     - There are 11 primes whose squares are less than or equal to 1000.

   - For \( q = 5 \): \( n = p^4 \) (fourth powers of primes less than or equal to 1000)
     - The largest prime \( p \) such that \( p^4 \leq 1000 \) is 5 (since \( 5^4 = 625 \)).
     - There are 3 primes whose fourth powers are less than or equal to 1000.

   - For \( q = 7 \): \( n = p^6 \) (sixth powers of primes less than or equal to 1000)
     - The largest prime \( p \) such that \( p^6 \leq 1000 \) is 3 (since \( 3^6 = 729 \)).
     - There are 2 primes whose sixth powers are less than or equal to 1000.

5. **Summing up the counts:**
   - Total number of valid \( n \) values is \( 168 + 11 + 3 + 2 = 184 \).

The final answer is \( \boxed{ 184 } \).