MathDB
Problems
Contests
National and Regional Contests
USA Contests
USA - College-Hosted Events
CHMMC problems
2012 CHMMC Spring
2012 CHMMC Spring
Part of
CHMMC problems
Subcontests
(12)
Individual
1
Hide problems
2012 Spring CHMMC Individual - Caltech Harvey Mudd Mathematics Competition
p1. A robot is at position
0
0
0
on a number line. Each second, it randomly moves either one unit in the positive direction or one unit in the negative direction, with probability
1
2
\frac12
2
1
of doing each. Find the probability that after
4
4
4
seconds, the robot has returned to position
0
0
0
. p2. How many positive integers
n
≤
20
n \le 20
n
≤
20
are such that the greatest common divisor of
n
n
n
and
20
20
20
is a prime number? p3. A sequence of points
A
1
A_1
A
1
,
A
2
A_2
A
2
,
A
3
A_3
A
3
,
.
.
.
...
...
,
A
7
A_7
A
7
is shown in the diagram below, with
A
1
A
2
A_1A_2
A
1
A
2
parallel to
A
6
A
7
A_6A_7
A
6
A
7
. We have
∠
A
2
A
3
A
4
=
11
3
o
\angle A_2A_3A_4 = 113^o
∠
A
2
A
3
A
4
=
11
3
o
,
∠
A
3
A
4
A
5
=
10
0
o
\angle A_3A_4A_5 = 100^o
∠
A
3
A
4
A
5
=
10
0
o
, and
∠
A
4
A
5
A
6
=
12
2
o
\angle A_4A_5A_6 = 122^o
∠
A
4
A
5
A
6
=
12
2
o
. Find the degree measure of
∠
A
1
A
2
A
3
+
∠
A
5
A
6
A
7
\angle A_1A_2A_3 + \angle A_5A_6A_7
∠
A
1
A
2
A
3
+
∠
A
5
A
6
A
7
. https://cdn.artofproblemsolving.com/attachments/d/a/75b06a6663b2f4258e35ef0f68fcfbfaa903f7.pngp4. Compute
log
3
(
log
3
3
3
3
3
log
3
3
3
3
3
)
\log_3 \left( \frac{\log_3 3^{3^{3^3}}}{\log_{3^3} 3^{3^3}} \right)
lo
g
3
(
lo
g
3
3
3
3
3
lo
g
3
3
3
3
3
)
p5. In an
8
×
8
8\times 8
8
×
8
chessboard, a pawn has been placed on the third column and fourth row, and all the other squares are empty. It is possible to place nine rooks on this board such that no two rooks attack each other. How many ways can this be done? (Recall that a rook can attack any square in its row or column provided all the squares in between are empty.) p6. Suppose that
a
,
b
a, b
a
,
b
are positive real numbers with
a
>
b
a > b
a
>
b
and
a
b
=
8
ab = 8
ab
=
8
. Find the minimum value of
a
2
+
b
2
a
−
b
\frac{a^2+b^2}{a-b}
a
−
b
a
2
+
b
2
. p7. A cone of radius
4
4
4
and height
7
7
7
has
A
A
A
as its apex and
B
B
B
as the center of its base. A second cone of radius
3
3
3
and height
7
7
7
has
B
B
B
as its apex and
A
A
A
as the center of its base. What is the volume of the region contained in both cones? p8. Let
a
1
a_1
a
1
,
a
2
a_2
a
2
,
a
3
a_3
a
3
,
a
4
a_4
a
4
,
a
5
a_5
a
5
,
a
6
a_6
a
6
be a permutation of the numbers
1
1
1
,
2
2
2
,
3
3
3
,
4
4
4
,
5
5
5
,
6
6
6
. We say
a
i
a_i
a
i
is visible if
a
i
a_i
a
i
is greater than any number that comes before it; that is,
a
j
<
a
i
a_j < a_i
a
j
<
a
i
for all
j
<
i
j < i
j
<
i
. For example, the permutation
2
2
2
,
4
4
4
,
1
1
1
,
3
3
3
,
6
6
6
,
5
5
5
has three visible elements:
2
2
2
,
4
4
4
,
6
6
6
. How many such permutations have exactly two visible elements? p9. Let
f
(
x
)
=
x
+
2
x
2
+
3
x
3
+
4
x
4
+
5
x
5
+
6
x
6
f(x) = x+2x^2 +3x^3 +4x^4 +5x^5 +6x^6
f
(
x
)
=
x
+
2
x
2
+
3
x
3
+
4
x
4
+
5
x
5
+
6
x
6
, and let
S
=
[
f
(
6
)
]
5
+
[
f
(
10
)
]
3
+
[
f
(
15
)
]
2
S = [f(6)]^5 +[f(10)]^3 +[f(15)]^2
S
=
[
f
(
6
)
]
5
+
[
f
(
10
)
]
3
+
[
f
(
15
)
]
2
. Compute the remainder when
S
S
S
is divided by
30
30
30
. p10. In triangle
A
B
C
ABC
A
BC
, the angle bisector from
A
A
A
and the perpendicular bisector of
B
C
BC
BC
meet at point
D
D
D
, the angle bisector from
B
B
B
and the perpendicular bisector of
A
C
AC
A
C
meet at point
E
E
E
, and the perpendicular bisectors of
B
C
BC
BC
and
A
C
AC
A
C
meet at point
F
F
F
. Given that
∠
A
D
F
=
5
o
\angle ADF = 5^o
∠
A
D
F
=
5
o
,
∠
B
E
F
=
1
0
o
\angle BEF = 10^o
∠
BEF
=
1
0
o
, and
A
C
=
3
AC = 3
A
C
=
3
, find the length of
D
F
DF
D
F
. https://cdn.artofproblemsolving.com/attachments/6/d/6bb8409678a4c44135d393b9b942f8defb198e.pngp11. Let
F
0
=
0
F_0 = 0
F
0
=
0
,
F
1
=
1
F_1 = 1
F
1
=
1
, and
F
n
=
F
n
−
1
+
F
n
−
2
F_n = F_{n-1} + F_{n-2}
F
n
=
F
n
−
1
+
F
n
−
2
. How many subsets
S
S
S
of
{
1
,
2
,
.
.
.
,
2011
}
\{1, 2,..., 2011\}
{
1
,
2
,
...
,
2011
}
are there such that
F
2012
−
1
=
∑
i
∈
S
F
i
?
F_{2012} - 1 =\sum_{i \in S}F_i?
F
2012
−
1
=
i
∈
S
∑
F
i
?
p12. Let
a
k
a_k
a
k
be the number of perfect squares
m
m
m
such that
k
3
≤
m
<
(
k
+
1
)
3
k^3 \le m < (k + 1)^3
k
3
≤
m
<
(
k
+
1
)
3
. For example,
a
2
=
3
a_2 = 3
a
2
=
3
since three squares
m
m
m
satisfy
2
3
≤
m
<
3
3
2^3 \le m < 3^3
2
3
≤
m
<
3
3
, namely
9
9
9
,
16
16
16
, and
25
25
25
. Compute
∑
k
=
0
99
⌊
k
⌋
a
k
,
\sum^{99}_{k=0} \lfloor \sqrt{k}\rfloor a_k,
k
=
0
∑
99
⌊
k
⌋
a
k
,
where
⌊
x
⌋
\lfloor x\rfloor
⌊
x
⌋
denotes the largest integer less than or equal to
x
x
x
. p13. Suppose that
a
,
b
,
c
,
d
,
e
,
f
a, b, c, d, e, f
a
,
b
,
c
,
d
,
e
,
f
are real numbers such that
a
+
b
+
c
+
d
+
e
+
f
=
0
,
a + b + c + d + e + f = 0,
a
+
b
+
c
+
d
+
e
+
f
=
0
,
a
+
2
b
+
3
c
+
4
d
+
2
e
+
2
f
=
0
,
a + 2b + 3c + 4d + 2e + 2f = 0,
a
+
2
b
+
3
c
+
4
d
+
2
e
+
2
f
=
0
,
a
+
3
b
+
6
c
+
9
d
+
4
e
+
6
f
=
0
,
a + 3b + 6c + 9d + 4e + 6f = 0,
a
+
3
b
+
6
c
+
9
d
+
4
e
+
6
f
=
0
,
a
+
4
b
+
10
c
+
16
d
+
8
e
+
24
f
=
0
,
a + 4b + 10c + 16d + 8e + 24f = 0,
a
+
4
b
+
10
c
+
16
d
+
8
e
+
24
f
=
0
,
a
+
5
b
+
15
c
+
25
d
+
16
e
+
120
f
=
42.
a + 5b + 15c + 25d + 16e + 120f = 42.
a
+
5
b
+
15
c
+
25
d
+
16
e
+
120
f
=
42.
Compute
a
+
6
b
+
21
c
+
36
d
+
32
e
+
720
f
.
a + 6b + 21c + 36d + 32e + 720f.
a
+
6
b
+
21
c
+
36
d
+
32
e
+
720
f
.
p14. In Cartesian space, three spheres centered at
(
−
2
,
5
,
4
)
(-2, 5, 4)
(
−
2
,
5
,
4
)
,
(
2
,
1
,
4
)
(2, 1, 4)
(
2
,
1
,
4
)
, and
(
4
,
7
,
5
)
(4, 7, 5)
(
4
,
7
,
5
)
are all tangent to the
x
y
xy
x
y
-plane. The
x
y
xy
x
y
-plane is one of two planes tangent to all three spheres; the second plane can be written as the equation
a
x
+
b
y
+
c
z
=
d
ax + by + cz = d
a
x
+
b
y
+
cz
=
d
for some real numbers
a
a
a
,
b
b
b
,
c
c
c
,
d
d
d
. Find
c
a
\frac{c}{a}
a
c
. p15. Find the number of pairs of positive integers
a
a
a
,
b
b
b
, with
a
≤
125
a \le 125
a
≤
125
and
b
≤
100
b \le 100
b
≤
100
, such that
a
b
−
1
a^b - 1
a
b
−
1
is divisible by
125
125
125
. PS. You had better use hide for answers. Collected [url=https://artofproblemsolving.com/community/c5h2760506p24143309]here.
Mixer
1
Hide problems
2012 Spring CHMMC Mixer Round - Caltech Harvey Mudd Mathematics Competition
Part 1You might think this round is broken after solving some of these problems, but everything is intentional.1.1. The number
n
n
n
can be represented uniquely as the sum of
6
6
6
distinct positive integers. Find
n
n
n
. 1.2. Let
A
B
C
ABC
A
BC
be a triangle with
A
B
=
B
C
AB = BC
A
B
=
BC
. The altitude from
A
A
A
intersects line
B
C
BC
BC
at
D
D
D
. Suppose
B
D
=
5
BD = 5
B
D
=
5
and
A
C
2
=
1188
AC^2 = 1188
A
C
2
=
1188
. Find
A
B
AB
A
B
. 1.3. A lemonade stand analyzes its earning and operations. For the previous month it had a \
45
d
o
l
l
a
r
b
u
d
g
e
t
t
o
d
i
v
i
d
e
b
e
t
w
e
e
n
p
r
o
d
u
c
t
i
o
n
a
n
d
a
d
v
e
r
t
i
s
i
n
g
.
I
f
i
t
s
p
e
n
t
45 dollar budget to divide between production and advertising. If it spent
45
d
o
ll
a
r
b
u
d
g
e
tt
o
d
i
v
i
d
e
b
e
tw
ee
n
p
ro
d
u
c
t
i
o
nan
d
a
d
v
er
t
i
s
in
g
.
I
f
i
t
s
p
e
n
t
k
d
o
l
l
a
r
s
o
n
p
r
o
d
u
c
t
i
o
n
,
i
t
c
o
u
l
d
m
a
k
e
dollars on production, it could make
d
o
ll
a
rso
n
p
ro
d
u
c
t
i
o
n
,
i
t
co
u
l
d
mak
e
2k - 12
g
l
a
s
s
e
s
o
f
l
e
m
o
n
a
d
e
.
I
f
i
t
s
p
e
n
t
glasses of lemonade. If it spent
g
l
a
sseso
f
l
e
m
o
na
d
e
.
I
f
i
t
s
p
e
n
t
k
d
o
l
l
a
r
s
o
n
a
d
v
e
r
t
i
s
i
n
g
,
i
t
c
o
u
l
d
s
e
l
l
e
a
c
h
g
l
a
s
s
a
t
a
n
a
v
e
r
a
g
e
p
r
i
c
e
o
f
dollars on advertising, it could sell each glass at an average price of
d
o
ll
a
rso
na
d
v
er
t
i
s
in
g
,
i
t
co
u
l
d
se
ll
e
a
c
h
g
l
a
ss
a
t
ana
v
er
a
g
e
p
r
i
ceo
f
15 + 5k
c
e
n
t
s
.
T
h
e
a
m
o
u
n
t
i
t
m
a
d
e
i
n
s
a
l
e
s
f
o
r
t
h
e
p
r
e
v
i
o
u
s
m
o
n
t
h
w
a
s
cents. The amount it made in sales for the previous month was
ce
n
t
s
.
T
h
e
am
o
u
n
t
i
t
ma
d
e
in
s
a
l
es
f
or
t
h
e
p
re
v
i
o
u
s
m
o
n
t
h
w
a
s
\
40.50
40.50
40.50
. Assuming the stand spent its entire budget on production and advertising, what was the absolute dierence between the amount spent on production and the amount spent on advertising? 1.4. Let
A
A
A
be the number of dierent ways to tile a
1
×
n
1 \times n
1
×
n
rectangle with tiles of size
1
×
1
1 \times 1
1
×
1
,
1
×
3
1 \times 3
1
×
3
, and
1
×
6
1 \times 6
1
×
6
. Let B be the number of different ways to tile a
1
×
n
1 \times n
1
×
n
rectangle with tiles of size
1
×
2
1 \times 2
1
×
2
and
1
×
5
1 \times 5
1
×
5
, where there are 2 different colors available for the
1
×
2
1 \times 2
1
×
2
tiles. Given that
A
=
B
A = B
A
=
B
, find
n
n
n
. (Two tilings that are rotations or reflections of each other are considered distinct.) 1.5. An integer
n
≥
0
n \ge 0
n
≥
0
is such that
n
n
n
when represented in base
2
2
2
is written the same way as
2
n
2n
2
n
is in base
5
5
5
. Find
n
n
n
. 1.6. Let
x
x
x
be a positive integer such that
3
3
3
,
log
6
(
12
x
)
\log_6(12x)
lo
g
6
(
12
x
)
,
log
6
(
18
x
)
\log_6(18x)
lo
g
6
(
18
x
)
form an arithmetic progression in some order. Find
x
x
x
. Part 2Oops, it looks like there were some intentional printing errors and some of the numbers from these problems got removed. Any
■
\blacksquare
■
that you see was originally some positive integer, but now its value is no longer readable. Still, if things behave like they did for Part 1, maybe you can piece the answers together.2.1. The number
n
n
n
can be represented uniquely as the sum of
■
\blacksquare
■
distinct positive integers. Find
n
n
n
. 2.2. Let
A
B
C
ABC
A
BC
be a triangle with
A
B
=
B
C
AB = BC
A
B
=
BC
. The altitude from
A
A
A
intersects line
B
C
BC
BC
at
D
D
D
. Suppose
B
D
=
■
BD = \blacksquare
B
D
=
■
and
A
C
2
=
1536
AC^2 = 1536
A
C
2
=
1536
. Find
A
B
AB
A
B
. 2.3. A lemonade stand analyzes its earning and operations. For the previous month it had a
$
50
\$50
$50
dollar budget to divide between production and advertising. If it spent k dollars on production, it could make
2
k
−
2
2k - 2
2
k
−
2
glasses of lemonade. If it spent
k
k
k
dollars on advertising, it could sell each glass at an average price of
25
+
5
k
25 + 5k
25
+
5
k
cents. The amount it made in sales for the previous month was
$
■
\$\blacksquare
$
■
. Assuming the stand spent its entire budget on production and advertising, what was the absolute dierence between the amount spent on production and the amount spent on advertising? 2.4. Let
A
A
A
be the number of different ways to tile a
1
×
n
1 \times n
1
×
n
rectangle with tiles of size
1
×
■
1 \times \blacksquare
1
×
■
,
1
×
■
1 \times \blacksquare
1
×
■
, and
1
×
■
1 \times \blacksquare
1
×
■
. Let
B
B
B
be the number of different ways to tile a
1
×
n
1\times n
1
×
n
rectangle with tiles of size
1
×
■
1 \times \blacksquare
1
×
■
and
1
×
■
1 \times \blacksquare
1
×
■
, where there are
■
\blacksquare
■
different colors available for the
1
×
■
1 \times \blacksquare
1
×
■
tiles. Given that
A
=
B
A = B
A
=
B
, find
n
n
n
. (Two tilings that are rotations or reflections of each other are considered distinct.) 2.5. An integer
n
≥
■
n \ge \blacksquare
n
≥
■
is such that
n
n
n
when represented in base
9
9
9
is written the same way as
2
n
2n
2
n
is in base
■
\blacksquare
■
. Find
n
n
n
. 2.6. Let
x
x
x
be a positive integer such that
1
1
1
,
log
96
(
6
x
)
\log_{96}(6x)
lo
g
96
(
6
x
)
,
log
96
(
■
x
)
\log_{96}(\blacksquare x)
lo
g
96
(
■
x
)
form an arithmetic progression in some order. Find
x
x
x
.PS. You had better use hide for answers. Collected [url=https://artofproblemsolving.com/community/c5h2760506p24143309]here.
10
1
Hide problems
2012 Spring Team #10
A convex polygon in the Cartesian plane has all of its vertices on integer coordinates. One of the sides of the polygon is
A
B
AB
A
B
where
A
=
(
0
,
0
)
A = (0, 0)
A
=
(
0
,
0
)
and
B
=
(
51
,
51
)
B = (51, 51)
B
=
(
51
,
51
)
, and the interior angles at
A
A
A
and
B
B
B
are both at most
45
45
45
degrees. Assuming no
180
180
180
degree angles, what is the maximum number of vertices this polygon can have?
9
1
Hide problems
2012 Spring Team #9
Let
S
S
S
be a square of side length
1
1
1
, one of whose vertices is
A
A
A
. Let
S
+
S^+
S
+
be the square obtained by rotating S clockwise about
A
A
A
by
3
0
o
30^o
3
0
o
. Let
S
−
S^-
S
−
be the square obtained by rotating S counterclockwise about
A
A
A
by
3
0
o
30^o
3
0
o
. Compute the total area that is covered by exactly two of the squares
S
S
S
,
S
+
S^+
S
+
,
S
−
S^-
S
−
. Express your answer in the form
a
+
b
3
a + b\sqrt3
a
+
b
3
where
a
,
b
a, b
a
,
b
are rational numbers.
8
1
Hide problems
2012 Spring Team #8
A special kind of chess knight is in the origin of an infinite grid. It can make one of twelve different moves: it can move directly up, down, left, or right one unit square, or it can move
1
1
1
units in one direction and
3
3
3
units in an orthogonal direction. How many different squares can it be on after
2
2
2
moves?
7
1
Hide problems
2012 Spring Team #7
A positive integer
x
x
x
is
k
k
k
-equivocal if there exists two positive integers
b
b
b
,
b
′
b'
b
′
such that when
x
x
x
is represented in base
b
b
b
and base
b
′
b'
b
′
, the two representations have digit sequences of length
k
k
k
that are permutations of each other. The smallest
2
2
2
-equivocal number is
7
7
7
, since
7
7
7
is
21
21
21
in base
3
3
3
and
12
12
12
in base
5
5
5
. Find the smallest
3
3
3
-equivocal number.
6
1
Hide problems
2012 Spring Team #6
Compute
∏
k
=
1
12
(
∏
j
=
1
10
(
e
2
π
j
i
/
11
−
e
2
π
k
i
/
13
)
)
.
\prod^{12}_{k=1} \left(\prod^{10}_{j=1} \left(e^{2\pi ji/11} - e^{2\pi ki/13}\right) \right) .
k
=
1
∏
12
(
j
=
1
∏
10
(
e
2
πji
/11
−
e
2
πki
/13
)
)
.
(The notation
∏
k
=
a
b
f
(
k
)
\prod^{b}_{k=a}f(k)
∏
k
=
a
b
f
(
k
)
means the product
f
(
a
)
f
(
a
+
1
)
.
.
.
f
(
b
)
f(a)f(a + 1)... f(b)
f
(
a
)
f
(
a
+
1
)
...
f
(
b
)
.)
5
1
Hide problems
2012 Spring Team #5
Suppose
S
S
S
is a subset of
{
1
,
2
,
3
,
4
,
5
,
6
,
7
}
\{1, 2, 3, 4, 5, 6, 7\}
{
1
,
2
,
3
,
4
,
5
,
6
,
7
}
. How many different possible values are there for the product of the elements in
S
S
S
?
4
2
Hide problems
2012 Spring Team #4
Let
P
(
x
)
P(x)
P
(
x
)
be a monic polynomial of degree
3
3
3
. Suppose that
P
(
x
)
P(x)
P
(
x
)
has remainder
R
(
x
)
R(x)
R
(
x
)
when it is divided by
(
x
−
1
)
(
x
−
4
)
(x - 1)(x - 4)
(
x
−
1
)
(
x
−
4
)
and
2
R
(
x
)
2R(x)
2
R
(
x
)
when it is divided by
(
x
−
2
)
(
x
−
3
)
(x - 2)(x - 3)
(
x
−
2
)
(
x
−
3
)
. Given that
P
(
0
)
=
5
P(0) = 5
P
(
0
)
=
5
, find
P
(
5
)
P(5)
P
(
5
)
.
2012 Spring CHMMC Tiebreaker 4 - numbers 1-6 in fractions, min result
The expression below has six empty boxes. Each box is to be filled in with a number from
1
1
1
to
6
6
6
, where all six numbers are used exactly once, and then the expression is evaluated. What is the maximum possible final result that can be achieved?
□
□
+
□
□
□
□
\dfrac{\frac{\square}{\square}+\frac{\square}{\square}}{\frac{\square}{\square}}
□
□
□
□
+
□
□
3
2
Hide problems
2012 Spring Team #3
In a
4
×
4
4 \times 4
4
×
4
grid of sixteen unit squares, exactly
8
8
8
are shaded so that each shaded square shares an edge with exactly one other shaded square. How many ways can this be done?
2012 Spring CHMMC Tiebreaker 3 - paint 3 faces of a regular dodecahedron
Three different faces of a regular dodecahedron are selected at random and painted. What is the probability that there is at least one pair of painted faces that share an edge?
2
2
Hide problems
2012 Spring Team #2
In the diagram below,
A
A
A
and
B
B
B
trisect
D
E
DE
D
E
,
C
C
C
and
A
A
A
trisect
F
G
F G
FG
, and
B
B
B
and
C
C
C
trisect
H
I
HI
H
I
. Given that
D
I
=
5
DI = 5
D
I
=
5
,
E
F
=
6
EF = 6
EF
=
6
,
G
H
=
7
GH = 7
G
H
=
7
, find the area of
△
A
B
C
\vartriangle ABC
△
A
BC
. https://cdn.artofproblemsolving.com/attachments/d/5/90334e1bf62c99433be41f3b5e03c47c4d4916.png
2012 Spring CHMMC Tiebreaker 2 - min volume of convex octahedron
A convex octahedron in Cartesian space contains the origin in its interior. Two of its vertices are on the
x
x
x
-axis, two are on the
y
y
y
-axis, and two are on the
z
z
z
-axis. One triangular face
F
F
F
has side lengths
17
\sqrt{17}
17
,
37
\sqrt{37}
37
,
52
\sqrt{52}
52
. A second triangular face
F
0
F_0
F
0
has side lengths
13
\sqrt{13}
13
,
29
\sqrt{29}
29
,
34
\sqrt{34}
34
. What is the minimum possible volume of the octahedron?
1
2
Hide problems
2012 Spring Team #1
Let
a
,
b
,
c
a, b, c
a
,
b
,
c
be positive integers. Suppose that
(
a
+
b
)
(
a
+
c
)
=
77
(a + b)(a + c) = 77
(
a
+
b
)
(
a
+
c
)
=
77
and
(
a
+
b
)
(
b
+
c
)
=
56
(a + b)(b + c) = 56
(
a
+
b
)
(
b
+
c
)
=
56
. Find
(
a
+
c
)
(
b
+
c
)
(a + c)(b + c)
(
a
+
c
)
(
b
+
c
)
.
2012 Spring CHMMC Tiebreaker 1 - sum x_i^2 = k for nonnegative integers
Let
a
k
a_k
a
k
be the number of ordered
10
10
10
-tuples
(
x
1
,
x
2
,
.
.
.
,
x
10
)
(x_1, x_2, ..., x_{10})
(
x
1
,
x
2
,
...
,
x
10
)
of nonnegative integers such that
x
1
2
+
x
2
2
+
.
.
.
+
x
10
2
=
k
.
x^2_1+ x^2_2+ ... + x^2_{10} = k.
x
1
2
+
x
2
2
+
...
+
x
10
2
=
k
.
Let
b
k
=
0
b_k = 0
b
k
=
0
if
a
k
a_k
a
k
is even and
b
k
=
1
b_k = 1
b
k
=
1
if
a
k
a_k
a
k
is odd. Find
∑
i
=
1
2012
b
4
i
\sum^{2012}_{i=1} b_{4i}
∑
i
=
1
2012
b
4
i
.