Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Prove that the last digit of p^8 is always 1.?

Where p is a prime greater than 5

2 Answers

Relevance
  • Amy
    Lv 7
    6 years ago

    Start with the fact that the last digit of p can only be 1, 3, 7, or 9.

    A number ending in 1 or 9, squared, ends in 1.

    A number ending in 3 or 7, squared, ends in 9.

    So p^2 ends in 1 or 9.

    And (p^2)^2 ends in 1.

    And p^8 = ((p^2)^2)^2 ends in 1.

  • ?
    Lv 7
    6 years ago

    p > 5 and is prime

    if the last digit of p = any number other than 1, 3, 7 or 9, then p is not prime.

    last digit = 0, 2, 4, 6 or 8 implies p is divisible by 2.

    last digit = 5 implies p is divisible by 5.

    1^8 -> 1 is last digit

    3^8 -> 1 is last digit

    7^8 -> 1 is last digit

    9^8 -> 1 is last digit

Still have questions? Get your answers by asking now.