Let a1... , a, be a permutation of 1, 2,..., n. We say that this sequence...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Let a1... , a, be a permutation of 1, 2,..., n. We say that this sequence is a zig-zag sequence if, for every 2 <i < n, either: • a, is greater than all the numbers occurring before it in the sequence, i.e. greater than each of a;-1, aj-2,..,a1, or • a, is less than all the numbers occurring before it in the sequence, i.e. less than each of a-1, ai-2, ., a1. How many of the n! permutations of 1,2,...,n are zig-zag sequences? Let a1... , a, be a permutation of 1, 2,..., n. We say that this sequence is a zig-zag sequence if, for every 2 <i < n, either: • a, is greater than all the numbers occurring before it in the sequence, i.e. greater than each of a;-1, aj-2,..,a1, or • a, is less than all the numbers occurring before it in the sequence, i.e. less than each of a-1, ai-2, ., a1. How many of the n! permutations of 1,2,...,n are zig-zag sequences?
Expert Answer:
Answer rating: 100% (QA)
S n be the set of permutations on 1 2 n Let A n denote the number of zigzag permutations in S n We g... View the full answer
Related Book For
Discrete Mathematics and Its Applications
ISBN: 978-0073383095
7th edition
Authors: Kenneth H. Rosen
Posted Date:
Students also viewed these mathematics questions
-
Let n be a positive integer greater than 1. We call n prime if the only positive integers that (exactly) divide n are 1 and n itself. For example, the first seven primes are 2, 3, 5, 7, 11, 13, and...
-
How many n n permutation matrices are there?
-
How many numbers greater than four million can be formed from the digits 2, 3, 4, 4, 5, 5, 5?
-
Who was the highest paid athlete in sports in the 1 9 9 0 s ?
-
(a) How do you space the labels on the X or Y axis of a graph? (b) Why must you be careful when selecting the amounts used as these labels?
-
Natural Language Processing (NLP) applications can learn how to communicate verbally or in written form using language that look and sounds very much like the way humans communicate. What are the six...
-
Triumph Corporation is preparing its statement of cash flows by the indirect method. Triumph has the following items for you to consider in preparing the statement. Identify each item as an -...
-
Lets take our prototypes and some new displays, reports, and forms to create the final user interface, Anna says to Chip. Its about time, isnt it? replies Chip. He was all too aware of the importance...
-
A company began January with 9,000 units of its principal product. The cost of each unit is $4. Inventory transactions for the month of January are as follows: Date of Purchase Units January 10 6,000...
-
Today is September 16, Year 2. You, CPA, work for Garcia & Garcia LLP, a medium-sized firm located in Montreal. Jules Garcia calls you into his office. "CPA, I have a very special engagement for you....
-
If we could convert all the weight that dieters lose in the United States every year to energy, how many gallons of gasoline would be its equivalent?
-
Canada Small Business Financing Program (3 parts, 15 marks) One of the support programs of the Government of Canada for small businesses is Canada Small Business Financing Program (CSBFP). Under the...
-
Young's Modulus for steel is approximately 180 GPa. Suppose a steel wire of diameter 4 mm and length 2 m is used to hang a 40 kg chandelier. How far (in millimeters) would you expect the wire to...
-
Explain the concept of objective function in linear programming and its significance in optimizing operational performance.
-
2. Write a program in python to get the number from the user using GUI. Use 2 command buttons one to check whether the number is an amstrong number If the given number is a amstrong, display it is a...
-
In the context of brand management, can you explain the concept of brand equity and its significance for a company?
-
Pittsburgh and Staunton each have a supply of 1500 units available to ship to the other cities shown in the network diagram. The shipping cost per unit is shown on each arrow. Pittsburgh 3 9...
-
3.16. For a system with non-identical service rates (see Sect. 3.5) and a limit of N jobs in the system (Eq. 3.13), obtain an expression for the mean service time per job, E[Ts], as a function of the...
-
Find gcd(92928, 123552) and lcm(92928, 123552), and verify that gcd(92928, 123552) lcm(92928, 123552) = 92928 123552.
-
In Exercise use Kuratowski's theorem to determine whether the given graph is planar. a b h
-
Show all the steps used by the binary insertion sort to sort the list 3, 2, 4, 5, 1, 6.
-
Your client is BigC Ltd, a large private firm with offices in all major cities of the UK. BigC specialises in selling concentrated fruit juices to UK and overseas buyers. This is the first year your...
-
Which of the following controls would be most effective in assuring that recorded purchases are free of material misstatements? (a) Purchase orders, goods received notes and suppliers invoices are...
-
The accounts receivable confirmation statistics working paper (index B-3) that appears over was prepared by an Audit Assistant Peter Porter, during the 20XI year audit of Western Water Ltd, a...
Study smarter with the SolutionInn App