This website contains problems from math contests. Problems and corresponding tags were obtained from the Art of Problem Solving website.

Tags were heavily modified to better represent problems.

AND
OR
NO

Found problems: 5923

Let $a_{1}, a_{2}, a_{3}, \cdots$ be an increasing sequence of nonnegative integers such that every nonnegative integer can be expressed uniquely in the form $a_{i}+2a_{j}+4a_{k}$, where $i, j, $ and $k$ are not necessarily distinct. Determine $a_{1998}$.
Let $f(x)$ be a function acting on a string of $0$s and $1$s, defined to be the number of substrings of $x$ that have at least one $1$, where a substring is a contiguous sequence of characters in $x$. Let $S$ be the set of binary strings with $24$ ones and $100$ total digits. Compute the maximum possible value of $f(s)$ over all $s\in S$. For example, $f(110) = 5$ as $\underline{1}10$, $1\underline{1}0$, $\underline{11}0$, $1\underline{10}$, and $\underline{110}$ are all substrings including a $1$. Note that $11\underline{0}$ is not such a substring.
a) Suppose that a sequence of numbers $x_1,x_2,x_3,...$ satisfies the inequality $x_n-2x_{n+1}+x_{n+2} \le 0$ for any $n$ . Moreover $x_o=1,x_{20}=9,x_{200}=6$. What is the maximal value of $x_{2009}$ can be? b) Suppose that a sequence of numbers $x_1,x_2,x_3,...$ satisfies the inequality $2x_n-3x_{n+1}+x_{n+2} \le 0$ for any $n$. Moreover $x_o=1,x_1=2,x_3=1$. Can $x_{2009}$ be greater then $0,678$ ?
Dima invented a secret code in which every letter is replaced by a word no longer than $10$ letters. A code is called “good” if every encoded word can be decoded in only one way. Serjozha (with the help of a computer) checked that for Dima’s code, every possible word of at most $10000$ letters can be decoded in only one way. Does it follow that Dima’s code is good? (Note that Dima and Serjozha are Russian, so they use the Cyrillic alphabet, which has $ 33$ letters! A word is any sequence of letters.) (D Piontkovskiy, S Shalunov)
Tireless Thomas and Jeremy construct a sequence. At the beginning there is one positive integer in the sequence. Then they successively write new numbers in the sequence in the following way: Thomas obtains the next number by adding to the previous number one of its (decimal) digits, while Jeremy obtains the next number by subtracting from the previous number one of its digits. Prove that there is a number in this sequence which will be repeated at least $100$ times. (A Shapovalov)
Let's say a language $L \subseteq \{0,1\}^*$ is in $\textbf{P}_{angel}$ if there exists a polynomial $p : \mathbb{N} \mapsto \mathbb{N}$, a sequence of strings $\{\alpha_n\}_{n \in \mathbb{N}}$ with $\alpha_n \in \{0,1\}^{p(n)}$, and a deterministic polynomial time Turing Machine $M$ such that for every $x \in \{0,1\}^n$ $$x \in L \Leftrightarrow M(x, \alpha_n) = 1$$ Let us call $\alpha_n$ to be the [i]angel string [/i]for all $x$ of the length $n$. Note that the [i]angel string[/i] is $\textbf{not}$ similar to a [i]witness[/i] or [i]certificate [/i]as used in the definition of $\textbf{NP}$ For example, all unary languages, even $UHALT$ which is undecidable, are in $\textbf{P}_{angel}$ because the \textit{angel string} can simply be a single bit that tells us if the given unary string is in $UHALT$ or not. \\\\ A set $S \subseteq \Sigma^*$ is said to be [b]sparse[/b] if there exists a polynomial $p : \mathbb{N} \mapsto \mathbb{N}$ such that for each $n \in \mathbb{N}$, the number of strings of length $n$ in $S$ is bounded by $p(n)$. In other words, $|S^{=n}| \leq p(n)$, where $S^{=n} \subseteq S$ contains all the strings in $S$ that are of length $n$. [list=1] [*] Given $k \in \mathbb{N}$ sparse sets $S_1, S_2 \ldots S_k$, show that there exists a sparse set $S$ and a deterministic polynomial time TM $M$ with oracle access to $S$ such that given an input $\langle x,i \rangle$ the TM $M$ will accept it if and only if $x \in S_i$. \\Define the set $S$ (note that it need not be computable), and give the description of $M$ with oracle $S$. \\Note that a TM $M$ with oracle access to $S$ can query whether $s \in S$ and get the correct answer in return in constant time. [/*] [*] Let us define a variant of $\textbf{P}_{angel}$ called $\textbf{P}_{bad-angel}$ with a constraint that there should exists a polynomial time algorithm that can [b]compute[/b] the angel string for any length $n \in \mathbb{N}$. In other words, there is a poly-time algorithm $A$ such that $\alpha_n = A(n)$. \\Is $\textbf{P} =\textbf{P}_{bad-angel}$? Is $\textbf{NP}=\textbf{P}_{bad-angel}$? Justify. [/*] [*] Let the language $L \in$ $\textbf{P}_{angel}$. Show that there exists a sparse set $S_L$ and a deterministic polynomial time TM $M$ with oracle access to $S_L$ that can decide the language $L$. [/*]
The pattern of figures $\triangle$ $ \bullet$ $ \square$ $\blacktriangle$ $\circ$ is repeated in the sequence $$\triangle,\bullet, \square, \blacktriangle, \circ, \triangle, \bullet, \square, \blacktriangle, \circ$$ The 214th figure in the sequence is (A) $\triangle$ (B) $\bullet$ (C) $\square$ (D) $\blacktriangle$ (E) $\circ$
Given a finite sequence of complex numbers $c_1, c_2, \ldots , c_n$, show that there exists an integer $k$ ($1 \leq k \leq n$) such that for every finite sequence $a_1, a_2, \ldots, a_n$ of real numbers with $1 \geq a_1 \geq a_2 \geq \cdots \geq a_n \geq 0$, the following inequality holds: \[\left| \sum_{m=1}^n a_mc_m \right| \leq \left| \sum_{m=1}^k c_m \right|.\]
Consider the sequences of six positive integers $a_1,a_2,a_3,a_4,a_5,a_6$ with the properties that $a_1=1$, and if for some $j > 1$, $a_j = m > 1$, then $m-1$ appears in the sequence $a_1,a_2,\dots,a_{j-1}$. Such sequences include $1,1,2,1,3,2$ and $1,2,3,1,4,1$ but not $1,2,2,4,3,2$. How many such sequences of six positive integers are there?
Let $a_1,a_2,\dots,a_m$ be a finite sequence of positive integers. Prove that there exist nonnegative integers $b,c,$ and $N$ such that $$\left\lfloor \sum_{i=1}^m \sqrt{n+a_i} \right\rfloor =\left\lfloor \sqrt{bn+c} \right\rfloor$$ holds for all integers $n>N.$ [i]Proposed by Carl Schildkraut[/i]
The sequence $\left(a_n \right)$ is defined by $a_1=1, \ a_2=2$ and $$a_{n+2} = 2a_{n+1}-pa_n, \ \forall n \ge 1,$$ for some prime $p.$ Find all $p$ for which there exists $m$ such that $a_m=-3.$
Let $(a_n)_{n=0}^{\infty}$ be a sequence of real numbers defined as follows: [list] [*] $a_0 = 3$, $a_1 = 2$, and $a_2 = 12$; and [*] $2a_{n + 3} - a_{n + 2} - 8a_{n + 1} + 4a_n = 0$ for $n \geq 0$. [/list] Show that $a_n$ is always a strictly positive integer.
Let $ u_1, u_2, \ldots, u_m$ be $ m$ vectors in the plane, each of length $ \leq 1,$ with zero sum. Show that one can arrange $ u_1, u_2, \ldots, u_m$ as a sequence $ v_1, v_2, \ldots, v_m$ such that each partial sum $ v_1, v_1 \plus{} v_2, v_1 \plus{} v_2 \plus{} v_3, \ldots, v_1, v_2, \ldots, v_m$ has length less than or equal to $ \sqrt {5}.$
Let $ f : (0,\infty) \to \mathbb R$ be a continous function such that the sequences $ \{f(nx)\}_{n\geq 1}$ are nondecreasing for any real number $ x$. Prove that $ f$ is nondecreasing.
In a tennis tournament where $ n$ players $ A_1,A_2,\dots,A_n$ take part, any two players play at most one match, and $ k \leq \frac {n(n \minus{} 1)}{2}$ $ 2$ matches are played. The winner of a match gets $ 1$ point while the loser gets $ 0$. Prove that a sequence $ d_1,d_2,\dots,d_n$ of nonnegative integers can be the sequence of scores of the players ($ d_i$ being the score of$ A_i$) if and only if $ (i)\ \ d_1 \plus{} d_2 \plus{} \dots \plus{} d_n \equal{} k$, and $ (ii)\ \text{for any} X\subset\{A_1,\dots,A_n\}$, the number of matches between the players in $ X$ is at most $ \sum_{A_j\in X}d_j$
A finite sequence of integers $a_{0}, a_{1}, \cdots, a_{n}$ is called quadratic if for each $i \in \{1,2,\cdots,n \}$ we have the equality $\vert a_{i}-a_{i-1} \vert = i^2$. [list=a] [*] Prove that for any two integers $b$ and $c$, there exists a natural number $n$ and a quadratic sequence with $a_{0}=b$ and $a_{n}=c$. [*] Find the smallest natural number $n$ for which there exists a quadratic sequence with $a_{0}=0$ and $a_{n}=1996$. [/list]
In a country with $n$ cities, some pairs of cities are connected by one-way flights operated by one of two companies $A$ and $B$. Two cities can be connected by more than one flight in either direction. An $AB$-word $w$ is called implementable if there is a sequence of connected flights whose companies’ names form the word $w$. Given that every $AB$-word of length $ 2^n $ is implementable, prove that every finite $AB$-word is implementable. (An $AB$-word of length $k$ is an arbitrary sequence of $k$ letters $A $ or $B$; e.g. $ AABA $ is a word of length $4$.)
Let $n$ be the number that is produced by concatenating the numbers $1, 2,... , 4022$, that is, $n = 1234567891011...40214022$. a. Show that $n$ is divisible by $3$. b. Let $a_1 = n^{2011}$, and let $a_i$ be the sum of the digits of $a_{i-1}$ for $i > 1$. Find $a_4$
Let $n\in N$ $n\geq2$ and the set $X$ with $n+1$ elements. The ordered sequences $(a_{1}, a_{2},\ldots,a_{n})$ and $(b_{1},b_{2},\ldots b_{n})$ of distinct elements of $X$ are said to be $\textit{separated}$ if there exists $i\neq j$ such that $a_{i}=b_{j}$. Determine the maximal number of ordered sequences of $n$ elements from $X$ such that any two of them are $\textit{separated}$. Note: ordered means that, for example $(1,2,3)\neq(2,3,1)$.
$a$ and $b$ are natural numbers such that $b > a > 1$, and $a$ does not divide $b$. The sequence of natural numbers $\{b_n\}_{n=1}^\infty$ satisfies $b_{n + 1} \geq 2b_n \forall n \in \mathbb{N}$. Does there exist a sequence $\{a_n\}_{n=1}^\infty$ of natural numbers such that for all $n \in \mathbb{N}$, $a_{n + 1} - a_n \in \{a, b\}$, and for all $m, l \in \mathbb{N}$ ($m$ may be equal to $l$), $a_m + a_l \not\in \{b_n\}_{n=1}^\infty$?
Let $p(z)=a_0+a_1z+a_2z^2+\cdots+a_nz^n$ be a complex polynomial. Suppose that $1=c_0\ge c_1\ge \cdots \ge c_n\ge 0$ is a sequence of real numbers which form a convex sequence. (That is $2c_k\le c_{k-1}+c_{k+1}$ for every $k=1,2,\cdots ,n-1$ ) and consider the polynomial \[ q(z)=c_0a_0+c_1a_1z+c_2a_2z^2+\cdots +c_na_nz^n \] Prove that : \[ \max_{|z|\le 1}q(z)\le \max_{|z|\le 1}p(z) \]
A positive integer $n$ is called [i]egyptian[/i] if there exists a strictly increasing sequence $0<a_1<a_2<\dots<a_k=n$ of integers with last term $n$ such that \[\frac{1}{a_1}+\frac{1}{a_2}+\dots+\frac{1}{a_k}=1.\] (a) Determine if $n=72$ is egyptian. (b) Determine if $n=71$ is egyptian. (c) Determine if $n=72^{71}$ is egyptian.
Determine all sequences of integers $a_1, a_2,. . .,$ such that: (i) $1 \le a_i \le n$ for all $1 \le i \le n$. (ii) $| a_i - a_j| = | i - j |$ for any $1 \le i, j \le n$
Is it possible to choose $1983$ distinct positive integers, all less than or equal to $10^5$, no three of which are consecutive terms of an arithmetic progression?
Let $S$ be the sum of the first nine terms of the sequence \[x+a, x^2+2a, x^3+3a, \cdots.\] Then $S$ equals: $ \textbf{(A)}\ \frac{50a+x+x^8}{x+1} \qquad\textbf{(B)}\ 50a-\frac{x+x^{10}}{x-1}\qquad\textbf{(C)}\ \frac{x^9-1}{x+1}+45a\qquad$$\textbf{(D)}\ \frac{x^{10}-x}{x-1}+45a\qquad\textbf{(E)}\ \frac{x^{11}-x}{x-1}+45a$