# Tagged Questions

Prime numbers are natural numbers not divisible by any smaller number other than 1. This tag is intended for questions about, related to, or involving prime numbers.

56 views

### Prove $\left(\frac{q(q+1)}{p}\right) =\left(\frac{1+q^{-1}}{p}\right )$ for $p\gt2$ a prime, and any $q \in \mathbb{Z^+}$.

For $p\gt2$ a prime, and any $q \in \mathbb{Z^+}$, Show that $\left(\frac{q(q+1)}{p}\right) =\left(\frac{1+q^{-1}}{p}\right )$ where the terms are legendre terms. I saw this result as part of a ...
137 views

### For which positive integers n does there exist a prime whose digits sum to n?

Motivated by this earlier question, I thought of this problem: Question: For which positive integers $n$ does there exist a prime whose decimal digits sum to $n$? We can make two "easy" ...
71 views

### $\sum_p z^p$ where $p$ is prime

I've started reading Shakarchi's Complex Analysis, and I thought about something interesting. If I haven't mistaken, for any subsequence $A\subset \mathbb{Z}^+$, $\sum_{n\in A} z^n$ has radius of ...
96 views

### Searching for prime candidates

For some additional excitement, I've been searching for primes $p \gg q = 104729$, where $q$ is of course the ten-thousandth prime. It seems that the best way to search for prime candidates $p$ is to ...
181 views

### How many co-primes are there for a big integer N over a specified interval?

How many co-primes are there for a big integer $N$ over a specified interval ? bounds of $N$ are $[1,10^9]$ and the interval is $[a,b]$ where ($1\leq a\leq b \leq 10 ^{15}$) and there are $100$ ...
33 views

### Solving $key=(\sum_{K=0}^n\frac{1}{a^K})\mod m$ with High limits

I was solving this equation:- $$key=(\sum_{K=0}^n\frac{1}{a^K})\mod m$$ Given $$1,000,000,000 < a, n, m \; < 5,000,000,000$$ $$a, m \; are \;coprime$$ I solved it bruteforcely but it ...