CS计算机代考程序代写 \documentclass[11pt]{article}

\documentclass[11pt]{article}
\usepackage{amsmath}
\usepackage{amssymb}
\pagestyle{plain}
\usepackage{fullpage}
\usepackage{comment}
\includecomment{question}
\includecomment{solution}
\newcommand{\Implies}{\mbox{ IMPLIES }}
\newcommand{\Or}{\mbox{ OR }}
\newcommand{\AND}{\mbox{ AND }}
\newcommand{\Not}{\mbox{NOT}}
\newcommand{\Iff}{\mbox{ IFF }}
\newcommand{\True}{\mbox{T}}
\newcommand{\False}{\mbox{F}}
\def\reals{{\mathbb R}}
\def\ints{{\mathbb Z}}
\def\nats{{\mathbb N}}

\begin{document}
\begin{center}
{\bf \Large \bf CSC240 Winter 2021 Midterm Assessment Question 5}\\
YOUR NAME and STUDENT NUMBER
\end{center}

\medskip

\begin{enumerate}
\setcounter{enumi}{4}

\item
\begin{question}
(10 marks)
Recall that, for any set $S$, $\#S$ denotes the number of elements in $S$.\\
For any $n \in \nats$, let $[n] = \{i \in \nats\ | 1 \leq i \leq n\}$.

Give a well-ordering proof that, for all $n \in \nats$,
$$\sum_{A\subseteq [n]} \sum_{B\subseteq [n]} \#(A \cup B) = 3n4^{n-1}.$$
Be sure to explicitly define the predicate you are using.\\
You may use the fact that $\#\{A\ |\ A \subseteq [n]\} = 2^n$.
\end{question}

\begin{solution}
{\bf Solution}:

\end{solution}
\end{enumerate}
\end{document}