Upload to Canvas a PDF scan of your written work to problems 1 and 2.

  1. Install R and then install RStudio on your favorite computer. Inside RStudio, install the library gmp and test some of the examples from the notes.
  2. Find the last digit of \(2^{10000}\) (i.e., the oneโ€™s digit). Use any method. Explain how you found your answer.
  3. Which of the following equations have integer solutions? For each equation, find an integer solution or explain why no such solution exists.
    1. \(2x + 3 \equiv 1 \pmod 9\)
    2. \(2x + 3 \equiv 1 \pmod 8\)
    3. \(2x + 3 \equiv 2 \pmod 8\)