Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
42 views8 pages

Prime Final Sol

This document contains an answer key and solutions to a final exam for the VCSMS PRIME program. It includes multiple choice questions with answers, short explanations of solutions to multi-part problems, and numerical solutions to equations. Disputes about exam scores will only be considered for the first 30 minutes after lunch.

Uploaded by

Tanish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views8 pages

Prime Final Sol

This document contains an answer key and solutions to a final exam for the VCSMS PRIME program. It includes multiple choice questions with answers, short explanations of solutions to multi-part problems, and numerical solutions to equations. Disputes about exam scores will only be considered for the first 30 minutes after lunch.

Uploaded by

Tanish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

VCSMS PRIME

Program for Inducing Mathematical Excellence


Final Exam
Answer Key and Solutions

Part I. (2 points each) 11. B 6. C


1. B 12. C 7. D
2. C 13. A 8. B

3. A 14. C 9. D
4. A 15. B 10. D
5. A Part II. (3 points each) Part III. (6 points each)

6. A 1. A 1. 3531
7. D 2. B 2. 13
8. A 3. A 3. 1123
9. D 4. B 4. −3084

10. B 5. B 5. 239

Disputes will be entertained for the first thirty minutes of lunch. Afterward, scores in the finals
and subsequently, grades in PRIME, will be finalized.
I have to acknowledge the contributions of Daniel, Sean, Dan, Ankan, Vinny, Weasley, Sharky and Kyle for
providing comments on questions, correcting a few things, and test-solving.
2 Final Exam

Part I
1. The choices are 1216 , 1446 , 1256 and 1286 . The largest is B.
2. Choice A is true because 52 + 52 > 62 , while 52 + 52 < 82 . Choice B is true because side AB is the
longest. The altitude from C to AB has length 4 by the Pythagorean theorem, so tan ∠ABC = 43 , so
C is false. Choice D is true because its perimeter is 6 + 5 + 5 = 16 and its area is 4 · 6/2 = 12.
3. Out of the 64 possible outcomes, 64 have four heads, 65 have five heads and 66 has six heads. This
  

makes a total of 22 outcomes, so the probability is 11/32.


4. The giftees are split into cycles. Either there is one 6-cycle, one 4-cycle and one 2-cycle, two 3-cycles,
or three 2-cycles. The minimum number of moves needed to return nametags to their owners for each
case are 6, 4, 3 and 2, respectively. The least common multiple is 12.
5. Triangle P RO is isosceles, and ∠P RO = 135◦ as it is an angle of a regular octagon. Thus ∠P OR = 22.5◦ .
Similarly, ∠AN O = 108◦ as it is an angle of a regular pentagon, and from isosceles triangle AN O we
have ∠AON = 36◦ . Thus ∠ROA = ∠P ON − ∠P OR − ∠AON = 108◦ − 22.5◦ − 36◦ = 49.5◦ .
6. Each of the choices are intervals of length 30, which is 15% of the maximum heart rate. The maximum
heart rate must be 200, so the interval needed is choice A.
7
7. Square both sides and subtract sin2 x + cos2 x = 1 to get sin x cos x = . Then sin3 x + cos3 x =
18
3 22
(sin x + cos x) − 3(sin x cos x)(sin x + cos x) = .
27
8. Each of the a boys in Class A gets a female partner, and x of the girls in Class B get a male partner.
The remaining b − x girls get a female partner. This is possible as x < b and a + b − x < y. No larger
assignment is possible.
9. From a3 + b3 + c3 − 3abc = (a + b + c)(a2 + b2 + c2 − ab − bc − ca), Vieta’s gives a3 + b3 + c3 = 3abc = −51.
10. The ratio of the number of turns of two gears is the ratio of their radii. The ratios of the gears
r in
6
between will cancel out, leaving only gears A and D. Gear A has radius 6 and gear D has radius .
√ π
π π 6 π 6π
When gear A is turned by radians, gear D is turned by · q = radians.
2 2 6 2
π

11. The equations factor by SFFT as (a + 1)(b + 2) = 15, (b + 2)(c + 3) = 42 and (c + 3)(a √ + 1) = 35.
Taking their product and the square root
√ of both sides gives (a + 1)(b + 2)(c + 3) = 105 2. Dividing
−2 + 5 2
the second equation gives a = , and the answer is −2 + 5 + 2 + 2 = 7.
2
12. There are 55 ways disregarding rotation. Subtract the 5 colorings that are all the same color and divide
by 5 to get 54 − 1 different colorings. Then add 5 again to get 54 + 4.
√ √ 1
13. We use the approximation x−1≈ x − √ from the binomial theorem or calculus. To the nearest
2 x
hundredth, this is 26.20. The actual value is about 26.176.
14. Choose the four couples to sit together in 54 ways. There are 4! ways to arrange them times 24 ways,


since each couple can switch. The two people in the remaining couple have  to be separated; they can
go in between or in the front and back. There are 7 slots, so there are 72 ways times 2, since they can
switch. This is 80640.
3
15. Modulo 21 this is (−1)17 + (−4)6 · (−4)2 ≡ −1 + 13 · 16 ≡ 15.
3 Final Exam

Part II
1. A number ending in 5, when squared, ends in 25; this makes b = 2. Thus the square of ccc5 ends with
225. We multiply out c = 1 to the fourth digit to rule it out. Same thing for c = 2, but only to the
third digit. The first hit is c = 3, which gives 11122225.
The other number of the form aaa22225 differs from 11122225 by a multiple of a large power of 10. By
difference of two squares, we want a number of the form ccc5 to have sum with 3335 that’s divisible
with a large power of 10 as well. The only choice is c = 6, which gives 44422225. Thus 1 + 4 = 5.
Alternatively, one can use modulo 7 and modulo 9 to only retain a = 1, 4, 7, 8 as choices and use size
arguments for c.

2. The radii of the circles are tan(π/4), tan(π/8), tan(π/16), . . .. The first is 1, the second is 2 − 1. We
approximate the rest using tan x ≈ x. This gives
π2
!
√ 2  π 2  π 2  √ 
π+π 2−1 +π +π + · · · = 1 + 3 − 2 2 + 256 1 π,
16 32 1− 4

by recognizing the rest of the terms as an infinite geometric series. Using π 2 ≈ 10 and 2 ≈ 1.41 gives
to the hundredths place 1.23π. The actual value is about 1.224π.
3. Let the centers be A and B and an intersection be C. Applying√the law of cosines on ∠ACB gives
AB 2 = AC 2 + BC 2 − 2 · AC · BC · cos ∠ACB, thus cos ∠ACB = 3/2. Thus ∠ACB = 30◦ and since
ABC is isosceles, ∠CAB = ∠ABC = 75◦ . The area is the area of two 150◦ sectors minus twice [ABC].
The former is 5π/3, the latter is 1.
4. Point X is closer to A than B if it lies on the side of the perpendicular bisector of AB that contains A.
This gives six inequalities, one for each of the 42 pairs of points. It is easier to plot the points in the
plane and solve geometrically, as they lie on a triangular grid.
Three of the inequalities cancel out: closer to B than D, closer to B than C, and closer to A than D
are removed by both closer to B than C and closer to C than D. The other boundary inequality√ is
closer to A than B. The intersection is a 30 − 60 − 90 triangle with longer leg 1. It thus has area 63 .
 
5. Since 6480 = 24 · 34 · 5, note that the sum needed is 1 − 2 + 22 − 23 + 24 1 − 3 + 32 − 33 + 34 (1 − 5)
upon expanding. This evaluates to −2684.
 2
  k  j 20172 −k k
6. Let ν(x) = ν2017 (x). Then ν 2017

k = 2018 − ν(k!) − ν (20172 − k)! = 2018 − 2017 − 2017 .
Writing k = 2017n + d, the valuation becomes 2018 − n − (2017 − n) = 1, provided 0 < n < 2017. This
happens precisely when 1 ≤ k ≤ 20172 − 1, giving 20172 − 1 numbers.
Alternatively, one can look at Pascal’s triangle and notice that all binomial coefficients on rows that are
powers of primes are divisible by the prime.
√ √
7. Well-known that polynomials in Q[x]
√ have the √ property that if r is a root for some rational r, then − r
2
must be a root as well, thus(x − r)(x  + 2r) = 1(x  − r) is a factor. In factored form, the polynomial
2 2 1 2 1
must then be 2017 x − 2 x − 3 · · · x − 2017 . The sum of its coefficients is substituting x = 1,
the product telescopes to 2017.
8. The numerator is log2n n−1 2
n2 and the denominator is logn (2017 · 2017!). By reverse change-of-base it
n−1 1
simplifies to log2017·2017! n2 . Applying the product rule gives log2017·2017! 2017·2017! = −1.
9. Let the foot from C to AB be E. Then 4ABC is a 15 − 20 − 25 right triangle, and by similarity the
length of AE is 16 and the length of CE is 12. But the area of the isosceles trapezoid is AE × CE = 192.
Alternatively, we can compute CD = 7 and use Brahmagupta’s formula.
10. Recursion: either the leftmost is a vertical 1 × 3 rectangle or three horizontal 3 × 1 rectangles. If f (n) is
the number of ways to tile 3 × n rectangle, then f (n) = f (n − 1) + f (n − 3). We have f (1) = f (2) = 1
and f (3) = 2. From here, compute the rest of the sequence: 3, 4, 6, 9, 13, 19, 28, 41, 60, 88, 129, 189.
4 Final Exam

Part III
1. The largest among the ratios of digit value to matchsticks used is 7/4, so it is optimal for Chris to keep
making 7s. He uses 2012 of them to make 503 7s. With the six remaining matchsticks he makes two 5s,
which is better than any other choice. This gives a total of 3531.

2. Let [P] be the area of polygon P. Observe that B and C are the midpoints of AAB and AAC , so BC
is half the length and parallel to AB AC , and thus 4[ABC] = [AAB AC ]. Thus [BAB AC C] = 3[ABC].
A similar argument holds for [CBC BA A] = [ACA CB B] = 3[ABC].
Then, BAB = BA and BCB = BC by reflection, also ∠ABC = ∠AB BCB because they are vertical,
it follows that triangles ABC and AB BCB are congruent. Thus [AB BCB ] = [ABC]. Similarly,
[BA ACA ] = [AC CBC ] = [ABC]. Finally,

[AB AC BC BA CA CB ] = [BAB AC C] + [CBC BA A] + [ACA CB B]


+ [AB BCB ] + [BA ACA ] + [AC CBC ] + [ABC] = 13[ABC],

so the ratio needed is 13.


3. Let ω 3 = 1 but ω =6 1. Then ω 2 + ω + 1 = 0. Substituting ω in x5 + x + 1 gives 0; it follows that
x + x + 1 is a factor of x5 + x + 1. Thus x5 + x + 1 = (x2 + x + 1)(x3 − x2 + 1).
2

Thus 205 + 20 + 1 = (202 + 20 + 1)(203 − 202 + 1) = 421 · 7601. We observe that 7601 is divisible by 11;
it is 11 · 691. We can verify by dividing small primes that 421 and 691 are both prime. The answer is
11 + 421 + 691 = 1123.
4. Multiply both sides by xy and then substitute x = a + b, y = a − b. The condition becomes

y [f (x + y) + f (x − y)] − 4x3 y = x [f (x + y) − f (x − y)] − 4xy 3


(a − b) [f (2a) + f (2b)] − 4(a + b)3 (a − b) = (a + b) [f (2a) − f (2b)] − 4(a + b)(a − b)3
2af (2b) + 16ab3 = 2bf (2a) + 16a3 b
f (2b) + (2b)3 f (2a) + (2a)3
=
2b 2a
f (x) + x3
It follows that is a constant for all x. Suppose it is k, then f (x) = kx − x3 . From f (1) = 0
x
we get k = 1. Then f (20) − f (17) = −3084.
Alternatively, it is possible to substitute (x, y) = (x, x), (−10, 10), (9, 8) to get f (0), f (20) and f (17).
5. Represent as a string in base 2: for example,
 8 would be 112 and 81 would be 121121. For f (n) = 3, its
string needs to have three 2s. There are 30 ways to have a string three characters long: 222. There are
4
is 30 + 41 + 52 + · · · .
   
1 ways to have a string four characters long, for 1222, and so on. Thesum 
This can be evaluated by the hockeystick identity, in particular the sum 30 + 41 + 52 + 63 + 74 = 70.
  

The last string is thus 2221111, or 239.


5 Final Exam

Notes on test design


A majority of the finals was produced over two weeks. Various problems were made beforehand from
inspiration in everyday life, these were often the better ones. PMO 2016 was used as a reference for problem
distribution: we all know PMO is heavily algebra-biased, but it is also biased towards geometry too.
First, the target distribution of questions per topic per part was made, as well as a rough list of topics I
wanted to appear. Existing questions were categorized and used initially; some had to be modified to be
easier. Then I set out to write questions for the remaining topics. It was prepared concurrently with the
solutions so as to make choice-writing easier.
Answers to the multiple choice part were generated with random.org. I also tried to sort answers in
“ascending” order for some notion of ascending. This had the consequence of some problems having forced
choices. Like II.1 had choice 17 for the sum of two distinct digits, which only means 8 + 9, which can then be
easily eliminated.
Here’s a breakdown. Part I:

1. Number ripoff from 16QII7. The hard part was finding perfect powers that were near enough; there
was an OEIS sequence for perfect powers so I used that.
2. The idea of involving choices is pretty novel for PMO, the only reference on file being 16QI9. However,
the inspiration comes from standardized testing questions like Regents, or the AMC. I also wanted to
write a question that involved the triangle inequality, and ended up using a bunch of triangle concepts
that I didn’t use elsewhere. I don’t think Heron’s is a PMO quals topic, but it has appeared in areas.
3. Standard fare. I needed a probability question, and was lacking easy questions, so I used this.
The choice 1/2 and 21/32 were meant to trip people up; the latter was if it were at least three heads,
not more than. The rest were written as in arithmetic sequence.
4. I was trying to write an expected value question involving permutations. So the idea was like “getting
people to draw names from a hat”, and I was inspired by Secret Santa or Kris Kringle – the way it
worked was you gave to your giftee, then the giftee gives to theirs, and so on until it loops. I wanted
to do an expected number of cycles, but ended up with this instead, which I think is nice for an easy
question.
The choices divisible by 5 were meant to trip up “picks another person” – the permutation was a
derangement. Then 144 was meant to trip up those who just multiplied. Nice fact that this also got
LCM and casework out, which were also in my list of topics.
5. Needed an angle chasing problem, the idea of regular polygons and their angles is standard fare. Polygon
P ROBLEM S is stolen from HMMT or NIMO or something where it was P ROBLEM Z. Then I
needed another word, and I wanted to use a pentagon so I get weird angles.
Having 49.5◦ coming only from regular polygons and no arbitrary angles was very nice. Wanted a
neat-looking angle in choices to trip up, so added 54◦ and did arithmetic sequence.
6. I wrote this problem four months prior. This was inspired by a phys ed test I took in which I forgot the
formula of maximum heart rate. Thankfully the choices were like this question, with intervals of the
same size. Real life inspiration for the win; I think this problem is actually very nice.

7. Standard fare. Wanted a trigonometry question that involved identities. This is very likely a number
ripoff, but it was written independent of any particular problem as inspiration.
8. This problem was written two months prior. Originally the problem involved explicit numbers but I
decided that was too easy. I needed an “existence”-flavored combi problem.
Inspiration from this came from those PIE-style problems like “X do A, Y do B, max number of people
who do both?” and I wanted something else, so I thought of combining that idea with making partners.
9. Wanted to use a3 + b3 + c3 = 3abc identity, which was disussed in PRIME. Sean commented that it was
not a PMO quals topic, and I agreed, but it came up in class and was given emphasis.
6 Final Exam

I was also thinking of writing a Vieta’s problem, and wanted to do more than standard fare “sum of
reciprocals of roots”. So I was thinking sums of squares, sums of cubes – and I remembered the identity.
So I used that.
Sean spotted an error (the choices were all positive originally) and got me to fix it, thanks.
10. This was written one months prior. I was playing with an idea I saw from an old AusMC MP/UP:
there was this small coin rolling around a big coin and the question was how many degrees it rolled.
That got me thinking about gears, and turning gears.
I filled in the details when I wrote the problem. Originally all the given were going to be radii of
different sizes, but I thought of using diameters, etc. out of the blue. I didn’t realize that the ratios
telescoped, that was a nice touch. Choices were hoping for the common factor-of-two trip-up with
radians.

11. Needed a system of equations problem, and wanted to use the standard idea of “add everything and
divide by three”. But I needed variation. So I thought of making it a product. Then I thought of using
SFFT like another prob. Then I realized I was ripping off 14NE4. Thanks to Sean for catching that
a, b, c can be negative.

12. Needed an overcounting problem, so I thought of rotation. Did not want to make it full-blown Burnside’s
so I kept it prime. Choices were meant to trip people who just divided by five or missed a consideration.
13. This is actually very naughty of me – it is extremely unlikely that PMO will ever do an estimation
question. But I wanted to, because MMC did anyway and we tackled it in class. Ankan liked this
problem a lot for some reason.

14. I needed a permutations problem and I wanted to involve stars and bars somehow. Permutation problem
in mind, I thought of using couples. Then I realized, “hey, I can turn this to a stars and bars type of
problem”. So I did. Thanks to Sharky for choice-writing: factor-of-two and not separating the fifth
couple.
15. Standard fare. Needed a modulo problem, thought of using exponents which was pretty standard, and
then thought of using the year. I was lacking standard problems in the test, so yeah.

Part II. Sharky recommended the ordering seen here:

1. This was actually the penultimate problem to be written. The original idea was trying to use bases:
abba was a four-digit number which was a perfect cube in whatever base. That was too easy, so I tried
again, still playing with the ideas of perfect powers in relation to bases.
That lead to thinking of perfect powers in relation to digits, because I was considering divisibility by
11 and palindromes and stuff. It was also because I noticed that 1652 = 27225 had particularly nice
repeated digits. So I used a computer program to search for some powers with nice repeated digits.
That lead to the beautiful 33352 and 66652 . Originally the digit 5 was meant to be a variable as well,
but that was scrapped for being too hard. I thought of a relatively easy, though bashy solution. I
showed this to a friend, asking for a non-bashy solution, and he gave two different ones and I really
liked both.
The 9 choice was meant to trip up those who added the two possible values for c, the rest was arithmetic
sequence.
2. This was written two months ago. You know that AIME problem I think that involved a bunch of areas
of circles in a triangle being in a geometric series? I wanted to do something like that as well. I was
thinking about the golden spiral and this was kinda the same idea.
Originally this was supposed to be about bounding the area with the difference of one large and one
small circle, but I realized using trigonometry was easier. The series did not have an exact sum, so I
used an approximation.
7 Final Exam

This was, again, against the spirit of PMO to not use estimation problems, but I explicitly taught the
technique in PRIME and the idea was nice.
The choices used to be tighter than this, with differences of 0.02π. But I wanted to not make accurate
approximation a main point of the problem. Thanks to Sharky and Dan for phrasing issues.
3. This was written two months ago. I was playing with the concept of area being pieced together and
remembered the standard fare question of area between two circles passing through each others’ centers.
Then I thought of placing the circles together to make the angle different.
This meant using trigonometry if I didn’t make the angles explicit. I didn’t want to use a standard
sector angle, so I thought of 75◦ . I was reminded of a trick I saw which splits a 15 − 75 − 90 triangle to
one 15 − 15 − 150 triangle and one 30 − 60 − 90 triangle, so that gave a nice non-trig way.
The numbers totally worked out in my head while I was walking home. I wrote it up and saved it.
Then I revisited this problem and the numbers were all wrong. And then I realized that having 75◦ as
an angle meant having 30◦ , which made for a cleaner law of cosines solution. So I used that and some
Wolfram Alpha to get some clean numbers.
4. Another question I wrote two months earlier. This was a ripoff from a Mathira 2017 question involving
guessing the number of jellybeans, a one dimensional version of this problem. That one had a single
possible number of jellybeans, and I ripped that problem off for a NIMO Revenge proposal that made
it, which turned it to a range.
Writing that problem made me think of solving the inequalities graphically. The idea of doing things
graphically triggered a two-dimensional analogue, but I couldn’t find pretty perpendicular bisectors.
Then I thought of using a triangular grid and the problem popped out.
One of the choices was in fact a mistake I made when solving this problem. I thought the answer was
half the area of a unit equilateral triangle because of the triangular grid, but then it didn’t match up
with Geogebra. Whoops.
5. Number ripoff from problem set by friend. I don’t know how he came up with it, but it was a very
good problem and I merely changed the numbers and the statement to make it neater. It was discrete
Fourier analysis and multiplicative number theory in a single problem! That was awesome.
Choices are bad: one of them is sum of all the factors and the other two were negations.
6. This was the last problem to be written, and thus pretty low-quality. Wanted to write a valuation
problem, thought of binomial coefficients. I saw a theorem that about valuations of pn choose k and
thought of using a special case. This one was nice enough to be conjectured from smaller cases with
Pascal’s triangle, so yeah.
Dan made the mistake of thinking 2017|k, which inspired the choice 20172 − 2017. The other two are
OBOEs.

7. This was one month earlier. I wanted to write a problem involving the minimal polynomial of x. And
then I also wanted to the factored form to have a telescoping product when substituting P (k). I tried
something more complicated but couldn’t come up with anything good, so I was left with this.
Thanks to Daniel and Vinny for some remarks. The choices are bad, I couldn’t come up with anything.
8. The idea, “something telescoping with logs”, comes from about three months earlier, but the problem
itself was one of the last to be written. Again, a telescoping product was turned to a sum. The idea
was to make both the base and the argument things that were expanded out.
The fact that the product of (n − 1)/n telescoped to 1/2017 was boring – I wanted to make the product
more interesting. So I thought of squaring to make it a factorial, which meant the base was factorial as
well, which fit with the idea of making the base expand. Then I just tried to write an expression that
looked passable without being too complicated.
Choices are bad.
8 Final Exam

9. This is an idea from two months earlier, the same night as I came up with II.3. Observe that both play
with the idea of area. This one was originally inspired by the fact that isosceles trapezoids are cyclic. I
have no idea how I thought of combining that with right triangles, but their easily found altitude made
the problem very nice.
The nicer phrasing was “an isosceles trapezoid has leg 15, diagonal 20 and base 25”, but I opted on
using more universal phrasing. The elegance of this problem lies on its statement.
10. This was a very standard problem because I wanted a recursion problem and I couldn’t make it too
hard. I also couldn’t come up with anything. That’s why this problem is a number ripoff from an
AusMC.
Part III:
1. The idea comes from two months earlier as well. I was thinking about 16AI20 and the sum of digits. I
was also thinking about the recent NIMO Summer and the number of minutes per problem – the ratio
of points to minutes was a new idea for me. So I thought, how about the ratio of digits to something?
But what?
It had to be about building up digits. So the idea of segments on a seven-segment calculator came
to mind first. Matchsticks made more natural phrasing. I thought of using 2017 matchsticks, but I
thought that making it 2018 can allow one ot use the leftover matchstick to make 1.
Then the ratio 7/3 was too big, so I thought of modifying the strict seven-segment to make 7 have 4
matchsticks. But then I realized that 7 + 1 wasn’t optimal for six matchsticks anymore, because 9 was
better! Playing on this idea lead to making 5 have 3 matchsticks instead.
2. This comes way earlier – the original idea was five months ago, was proof-based, and involved something
extra, which I will withhold because it’s nice. This modification of that problem is very nice because it
has a very European-flavored dissection solution.
3. This is an evil problem. I was inspired by 16AI7 and 3003 + 1, which is apparently a ripoff of a common
problem. I was thinking of a lot of algebraic factorizations, like Sophie–Germain and some other stuff,
explicitly taught in PRIME.
I eventually used x5 + x + 1, when I factorized 105 + 10 + 1 and 205 + 20 + 1 and was satisfied with the
latter as it only had three primes. It was good because one of them small and the other two easy to
check for primality.
4. This is an idea ripoff from Singaporean MO, with the sum and difference substitution and separating
variables and getting the same expression on both sides. This is another one of those written backwards
problems, and I was surprised I managed to get something which had a nice-ish statement.
Originally this would be III.5. Then a friend pointed out that one can get the answer without explicitly
solving for f . I thought that was rather nice, and I kept it because it rewarded creativity – though it
made the problem easier, so I made it III.4. Sharky also commented that the combi problem should be
last.
5. Recall that earlier I wanted to write a problem about bases, and ended up with II.1. This was also an
attempt to write a problem about bases. I was inspired by the numbers representable as sum of distinct
powers of three, which turned to binary – so I thought of other ways things can be turned to binary.
I came up with this: changing binary from 0s and 1s to 1s and 2s, and using powers of two as the sum.
Though, this made every number representable. So there went the “find the 2017th smallest integer”.
However, it made every number uniquely representable. Which meant I can use properties of the
representation itself. The obvious one was “number of 2s”. And when I started counting, I saw the
sequence in OEIS – apparently it’s ν2 the nth Catalan number.
Finding f (n) for a given n is easy. So I took the reverse approach: here’s f (n), find some n. Then I
saw that it used combinatorial techniques, and that’s when I reazlied this was a combi problem. It used
hockeystick. The number 70 was chosen because it gave an exact hockeystick sum, to make finding the
original number easier.

You might also like