Call a permutation a1,a2,…,an of the integers 1,2,…,n quasi-increasing if ak≤ak+1+2 for each 1≤k≤n−1. For example, 53421 and 14253 are quasi-increasing permutations of the integers 1, 2, 3, 4, 5, but 45123 is not. Find the number of quasi-increasing permutations of the integers 1, 2, …, 7.
Let A=1,2,3,4, and f and g be randomly chosen (not necessarily distinct) functions from A to A. Find the probability that the range of f and the range of g are disjoint.
Find all prime number p such that both (4p2+1) and (6p2+1) are prime numbers.
Ms. Math's kindergarten class has 16 registered students. The classroom has a very large number, N, of play blocks which satisfies the conditions:
Find the sum of the distinct prime divisors of the least possible value of N satisfying the above conditions.
For π≤θ<2π, letP=12cosθ−14sin2θ−18cos3θ+116sin4θ+132cos5θ−164sin6θ−1128cos7θ+⋯ and Q=1−12sinθ−14cos2θ+18sin3θ+116cos4θ−132sin5θ−164cos6θ+1128sin7θ+⋯ so that PQ=2√27. Then sinθ=−mn where m and n are relatively prime positive integers. Find m+n.
Let N be the number of ordered triples (A,B,C) of integers satisfying the conditions:
Find N.
A 7×1 board is completely covered by m×1 tiles without overlap; each tile may cover any number of consecutive squares, and each tile lies completely on the board. Each tile is either red, blue, or green. Let N be the number of tilings of the 7×1 board in which all three colors are used at least once. For example, a 1×1 red tile followed by a 2×1 green tile, a 1×1 green tile, a 2×1 blue tile, and a 1×1 green tile is a valid tiling. Note that if the 2×1 blue tile is replaced by two 1×1 blue tiles, this results in a different tiling. Find N.
Let S be the set of all perfect squares whose rightmost three digits in base 10 are 256. Let T be the set of all numbers of the form x−2561000, where x is in S. In other words, T is the set of numbers when the last three digits of each number in S are truncated. Find the remainder when the tenth smallest element of T is divided by 1000.
Let x and y be real numbers such that sinxsiny=3 and cosxcosy=12. The value of sin2xsin2y+cos2xcos2y can be expressed in the form pq, where p and q are relatively prime positive integers. Find p+q.
For a positive integer p, define the positive integer n to be p-safe if n differs in absolute value by more than 2 from all multiples of p. For example, the set of 10-safe numbers is {3,4,5,6,7,13,14,15,16,17,23,…}. Find the number of positive integers less than or equal to 10,000 which are simultaneously 7-safe, 11-safe, and 13-safe.
In a small pond there are eleven lily pads in a row labeled 0 through 10. A frog is sitting on pad 1. When the frog is on pad N, 0<N<10, it will jump to pad (N−1) with probability N10 and to pad (N+1) with probability 1−N10. Each jump is independent of the previous jumps. If the frog reaches pad 0 it will be eaten by a patiently waiting snake. If the frog reaches pad 10 it will exit the pond, never to return. What is the probability that the frog will escape without being eaten by the snake?
A parking lot has 16 spaces in a row. Twelve cars arrive, each of which requires one parking space, and their drivers chose spaces at random from among the available spaces. Auntie Em then arrives in her SUV, which requires 2 adjacent spaces. What is the probability that she is able to park?
Eight people are sitting around a circular table, each holding a fair coin. All eight people flip their coins and those who flip heads stand while those who flip tails remain seated. What is the probability that no two adjacent people will stand?