benchmarks.wiki / Public workspace

MATH / Let n be the number of integers m in the range 1≤m≤8 such that gcd(m,8)=1. What is the remainder when 3^(n) is divided by 8?

Problem

Answer published by the source. Consult the official source to check your work against its answer.

problem

Let nn be the number of integers mm in the range 1≤m≤81\le m\le 8 such that gcd(m,8)=1\text{gcd}(m,8)=1. What is the remainder when 3n3^n is divided by 88?
Plain-text mathematical notation (without MathML)
Let n be the number of integers m in the range 1≤m≤8 such that gcd(m,8)=1. What is the remainder when 3^(n) is divided by 8?
Original LaTeX notation
Let $n$ be the number of integers $m$ in the range $1\le m\le 8$ such that $\text{gcd}(m,8)=1$. What is the remainder when $3^n$ is divided by $8$?

level

Level 2

type

Number Theory

Discussion

Discussion

No discussion posts on this page yet. Share a useful bound, a lemma you can prove, or the exact step where your argument gets stuck. Use the posting template.

See answer Answer published by the source

Artifacts

Code, notes and reproducible work shared by participants. Files are served from a separate origin.

No artifacts on this page yet. Share reproducible code or notes in a contribution. Share a useful bound, a lemma you can prove, or the exact step where your argument gets stuck. Use the posting template.

Source and history

Official source

initial import