
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

This assignment carries a total of twenty points. The assignment is due on Friday 24th November at the start of class. Your answers are to be written clearly and legibly, otherwise marks may be deducted.
(a) Determine the remainder when 7^39 is divided by 17. (b) Determine the remainder when 2^2 10 is divided by 65.
Prove that 517 is not a prime number using Fermat’s Theorem.
(a) Determine the number of graphs on n vertices. (b) Determine the number of graphs on n vertices with e edges. (c) Determine the number of walks of length k in a d-regular graph on n vertices.
(a) The n-dimensional hypercube graph, denoted Qn, is the graph whose vertex set consists of all n-bit binary strings, and whose edge set consists of all pairs of strings differing in exactly one bit. Determine |V (Qn)| and |E(Qn)|. (b) Prove that Qn is connected, for all n ≥ 2.
(a) Let F be a graph with c components and n vertices. Prove that |E(F )| ≥ n − c. (b) Describe what a graph looks like if it has c components, n vertices, and n−c edges. (c) Write down a formula for the total number of graphs in (b).