Spain Mathematical Olympiad Problem 1

A pucelana sequence is an increasing sequence of 16 consecutive odd numbers whose sum is a perfect cube. How many pucelana sequences are there with 3-digit numbers only?

This problem is part of this set .


The answer is 3.

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

Raphael Nasif
Mar 30, 2015

1. S o l u t i o n \Large{\mathbf{1.\, Solution}}

Let x 1 , , x 16 x_1, \dots, x_{16} be a pucelana sequence.

Since such a sequence is constructed from consecutive odd numbers, we have x i + 1 = x i + 2 x_{i+1} = x_i + 2 for i = 1 , , 15 i = 1, \dots, 15 . Or, more generally, x j = x i + 2 ( j i ) (1) x_j = x_i + 2(j-i) \tag{1} where i , j N i, j \in \mathbb{N} . It follows that the sum of the sequence is \begin{aligned} \sum_1^{16}{x_i} & = x_1 + (x_1 + 2(1)) + \dots + (x_1 + 2(15)) & \mbox{(by use of }(1)\mbox{)}\\ & = 16x_1 + 2\sum_1^{15}{r} \tag{2} \\ & = 16x_1 + 240 = n^3 \tag{3} \end{aligned} Now, we have been given that every x i x_i is composed of exactly 3 3 -digits. Thus the lower upper bounds for our cube number are 16 ( 100 ) + 240 = 1840 > 1 2 3 16 ( 999 ) + 240 = 16224 < 2 6 3 16(100) + 240 = 1840 > 12^3 \\ 16(999) + 240 = 16224 <\, 26^3 respectively. This provides the constraint 12 < n < 26 12 < n < 26 Let us rearrange ( 3 ) (3) to x 1 = n 3 16 15 (4) x_1 = \frac{n^3}{16} - 15 \tag{4} We can observe that for x 1 x_1 to be an integer value we must have 16 ( = 2 4 ) n 3 4 n 16\, (= 2^4) \mid n^3 \iff 4 \mid n . Therefore our values for n n must be multiples of 4 4 , giving n = 16 , 20 , 24 n = 16, 20, 24 .

So our answer is 3 \fbox{3} .

2. G e n e r a l i s a t i o n \Large{\mathbf{2.\, Generalisation}}

There are multiple variables we can change in the given question. This section will generalise each of variables independently and, in some cases, simultaneously.

P r e p a r e y o u r s e l v e s . . . \color{#FFFFFF}{Prepare yourselves...}

2.1 d -digit numbers \large{\mathbf{2.1}\, d \mathbf{\mbox{-digit numbers}}}

This is the most trivial generalisation. If the question were rephrased to ask the number of pucelana sequences with d d -digit numbers only, what would our answer be?

All that changes in our solution is the constraint on n n . For the lower and upper bounds we simply replace 100 100 and 999 999 with 1 0 d 1 10^{d-1} and 1 0 d 1 10^d-1 (the smallest and largest numbers composed of d d -digits) respectively.

E x a m p l e 2.1.1 \mathbf{Example\, 2.1.1} The same question for 4 4 -digits would give lower and upper bounds of 16 ( 1000 ) + 240 = 16240 > 2 5 3 16 ( 9999 ) + 240 = 160224 < 5 5 3 16(1000) + 240 = 16240 > 25^3 \\ 16(9999) + 240 = 160224 <\, 55^3 Thus our answer would be the number of multiples of 4 4 between 25 25 and 55 55 , which is 7 7 ( 28 , 32 , 36 , 40 , 44 , 48 , 52 28, 32, 36, 40, 44, 48, 52 ).

T h i s n e x t s e c t i o n w a s s o m e w h a t t e d i o u s t o w r i t e \color{#FFFFFF}{This next section was somewhat tedious to write}

2.2 k consecutive odd numbers \large{\mathbf{2.2}\, k\, \mathbf{\mbox{consecutive odd numbers}}}

If, instead of 16 16 , we were to define an increasing sequence with k k consecutive odd numbers whose sum is a perfect cube and ask the same question, what would our answer be?

Our formula ( 1 ) (1) and our constraints for n n will remain the same since we're still dealing with consecutive odd numbers of exactly 3 3 -digits. The only thing to change would be our sum, which will now have k k terms. It is easy to see that equation ( 2 ) (2) will now become k x 1 + 2 1 k 1 r = k x 1 + k ( k 1 ) = n 3 kx_1 + 2\sum_1^{k-1}{r} = kx_1 + k(k-1) = n^3 If we rearrange and divide by k k , akin to ( 4 ) (4) , we get x 1 = n 3 k ( k 1 ) (5) x_1 = \frac{n^3}{k} - (k-1) \tag{5}

T h e o r e m 2.2.1 k n 3 p m / 3 n for every prime factor p of \mathbf{Theorem\, 2.2.1}\, k \mid n^3 \iff p^{\lceil m/3 \rceil} \mid n \mbox{ for every prime factor } p \mbox{ of } k where at most p m k for some m N k \mbox{ where at most } p^m \mid k \mbox{ for some } m \in \mathbb{N}

Proof. ( \Rightarrow ) Let k = p q k = pq where p p is a prime number and q N q \in \mathbb{N} . If p q p \nmid q then k ( = p q ) n 3 p n 3 p n k\, (=pq) \mid n^3 \implies p \mid n^3 \iff p \mid n . If p q p \mid q then find l N l \in \mathbb{N} such that l = q / p x l = q/p^x and q / p x + 1 ∉ N q/p^{x+1} \not\in \mathbb{N} for some x N x \in \mathbb{N} . Then at most p x + 1 k p^{x+1} \mid k so k = p x + 1 l k = p^{x+1}l and p x + 1 n 3 p^{x+1} \mid n^3 p ( x + 1 ) / 3 n \iff p^{\lceil (x+1)/3 \rceil} \mid n .

( \Leftarrow ) Let p 1 m 1 / 3 , p 2 m 2 / 3 , , p s m s / 3 n p_1^{\lceil m_1/3 \rceil}, p_2^{\lceil m_2/3 \rceil}, \dots, p_s^{\lceil m_s/3 \rceil} \mid n where p 1 , p 2 , , p s p_1, p_2, \dots, p_s are the prime factors of k k with at most p 1 m 1 , p 2 m 2 , , p s m s k p_1^{m_1}, p_2^{m_2}, \dots, p_s^{m_s} \mid k . Thus k = p 1 m 1 p 2 m 2 p s m s k = p_1^{m_1}p_2^{m_2} \cdots p_s^{m_s} . If m i 3 \frac{m_i}{3} is an integer for some m i m_i then m i 3 = m i 3 = x i N \lceil \frac{m_i}{3} \rceil = \frac{m_i}{3} = x_i \in \mathbb{N} and thus p i m i n 3 p_i^{m_i} \mid n^3 . If however m i 3 \frac{m_i}{3} is not an integer then m i 3 = m i 3 + c = x i + c N \lceil \frac{m_i}{3} \rceil = \frac{m_i}{3} + c = x_i + c \in \mathbb{N} where c = x i x i c = \lceil x_i \rceil - x_i and we have p i m i + 3 c n 3 p_i^{m_i + 3c} \mid n^3 p i m i n 3 \implies p_i^{m_i} \mid n^3 . And so k n 3 k \mid n^3 . \square

We can now use T h e o r e m 2.2.1 \small{\mathbf{Theorem\, 2.2.1}} to find the number of integer solutions for ( 5 ) (5) .

E x a m p l e 2.2.2 \mathbf{Example\, 2.2.2} Let us consider the number of sequences of 1458 1458 consecutive odd numbers whose sum is a cube number and with each term having exactly 4 4 -digits only. It is simple to see that 1458 = 2 × 729 = 2 × 3 6 1458 = 2 \times 729 = 2 \times 3^6 And so, by T h e o r e m 2.2.1 \small{\mathbf{Theorem\, 2.2.1}} , we require n n to be divisible by 2 1 / 3 × 3 6 / 3 = 2 × 3 2 = 18 2^{\lceil 1/3 \rceil} \times 3^{\lceil 6/3 \rceil} = 2 \times 3^2 = 18 Since we already know ( S e c t i o n 2.1 \small{\mathbf{Section\, 2.1}} ) that for 4 4 -digit numbers the constraint on n n is 25 < n < 55 25 < n < 55 we need to find all n n satisfying the inequality such that 18 n 18 \mid n . These are 36 36 and 54 54 and so our answer is 2 2 .

N o p o i n t r e w r i t i n g t h e t h e o r e m , r i g h t ? \color{#FFFFFF}{No point rewriting the theorem, right?}

2.3 Sum equal to n z \large{\mathbf{2.3}\, \mathbf{\mbox{ Sum equal to }} n^z}

Finally we should consider what would happen if we required the sequence to be equal to n z n^z for z N z \in \mathbb{N} . In fact, it is nothing too new; we simply generalise T h e o r e m 2.2.1 \small{\mathbf{Theorem\, 2.2.1}} as follows.

T h e o r e m 2.3.1 k n z p m / z n for every prime factor p of \mathbf{Theorem\, 2.3.1}\, k \mid n^z \iff p^{\lceil m/z \rceil} \mid n \mbox{ for every prime factor } p \mbox{ of } k where at most p m k for some m N k \mbox{ where at most } p^m \mid k \mbox{ for some } m \in \mathbb{N}

The proof is omitted (it is very similar to that of T h e o r e m 2.2.1 \small{\mathbf{Theorem\, 2.2.1}} ).

So, now that we have done all of that, let's try some example questions.

3. E x a m p l e Q u e s t i o n s \Large{\mathbf{3.\, Example\, Questions}}

1 1 . How many sequences are there of 32 32 consecutive odd numbers with 2 2 -digit numbers only, whose sum is of the form n 4 n^4 ?

2 2 . How many sequences are there of 30 30 consecutive odd numbers with 3 3 -digit numbers only, whose sum is of the form n 2 n^2 ?

Harder:

3 3 . What is the sum of the number of sequences of 3 k + 1 3^{k+1} consecutive odd numbers with k k -digit numbers only, each with sum of the form n k n^k for k = 1 , 2 , 3 , k = 1, 2, 3, \dots .

4 4 . What is the sum of the number of sequences of k k 2 2 k + 1 k^{k^2 - 2k + 1} consecutive odd numbers with k k -digit numbers only, each with sum of the form n k n^k for k = 1 , 2 , 3 , k = 1, 2, 3, \dots .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...