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.

learn more… | top users | synonyms

1
vote
1answer
42 views

(p-1)! number theory problem

I was working on this little problem: Let $\frac{a}{(p-1)!} = 1 + 1/2 + 1/3 + ... + 1/(p-1)$, where p is a positive prime. (a) Prove $p\mid a$. (b) Can $p^2 \mid a$? I thought (a) was pretty ...
13
votes
4answers
561 views

Is every prime the average of two other primes?

$\forall {p_1\in\mathbb{P}, p_1>3},\ \exists {p_2\in\mathbb{P},\ p_3\in\mathbb{P}};\ (p_1 \neq p_2) \land (p_1\neq p_3) \land (p_1 = \frac{p_2+p_3}{2})$ Now I'm not a 100% sure about this, but I ...
5
votes
5answers
772 views

Proof of infinitely many primes, clarification

Proof: The proof is by contradiction. Suppose there are only finitely many primes. Let the complete list be $p_1,p_2,\dots,p_n$. Let $N = p_1p_2 \dots p_n+1$. According to the Fundamental Theorem of ...
14
votes
9answers
2k views

Is $83^{27} +1 $ a prime number?

I'm having problems with exercises on proving whether or not a given number is prime. Is $83^{27} + 1$ prime?
5
votes
1answer
178 views

Why all composite numbers have this property?

Define $f(n)=\sum\limits_{A \in S} f_{1}(n,A),\ n>2,\ n \in \mathbb{Z}$, where $S$ is the power set of $\{\frac{1}{2},\cdots ,\frac{1}{n-1}\}$. Define $\ f_1(n,\varnothing)=1,\ ...
6
votes
2answers
1k views

Proof that there are infinitely many primes of the form $4m+3$

I am reading a proof of there are infinitely many primes of the form $4m+3$, but have trouble understanding it. The proof goes like this: Assume there are finitely many primes, and take $p_k$ to be ...
2
votes
3answers
72 views

Beginner Proof about Primes

I am interested in understand the proof of infinitely many primes. It seems like quite an easy proof, ( I know there are many but I am referring to the proof that goes as follows); " Suppose there ...
5
votes
1answer
107 views

Zhang's theorem and Polignac's conjecture

Yitang Zhang made a groundbreaking discovery when he proved that there are infinitely many pairs of prime numbers which differ by less than $70,000,000$. Zhang's theorem has been significantly ...
6
votes
1answer
383 views

Infinite sum of prime reciprocals

Let $\mathbb D$ be the set of all real numbers that can be expressed as a sum of distinct prime reciprocals, i.e. $\mathbb D = \{ d \in \mathbb R \mid d = \sum_{k \in \mathbb K} \frac 1k $ for some ...
12
votes
6answers
1k views

Does the formula $\sqrt{ 1 + 24n }$ always yield prime?

I did some experiments, using C++, investigating the values of $\sqrt{1+24n}$. ...
0
votes
1answer
20 views

Primes in a concave sequence

Are there infinitely many consecutive tuples of primes $(p_{n-1},p_n,p_{n+1})$ satisfying $$\frac{1}{2}(p_{n-1}+p_{n+1})\le p_n$$ I don't know how to do this problem. Maybe we use the prime number ...
0
votes
1answer
68 views

How can I solve this problem without doing it by hand? [duplicate]

I'm dealing with the following problem in computational programming. I'm trying to find a way to build an algorithm that can quickly resolve the following problem statement without forcing me to do it ...
1
vote
2answers
66 views

Is there any way to solve this problem without having to do it by hand? [duplicate]

I'm dealing with the following problem in computational programming. I'm trying to find a way to build an algorithm that can quickly resolve the following problem statement. Is there any way to group ...
0
votes
2answers
32 views

$\log$ approximation for $\pi(x)$

It seems that a reasonable $\log$ approximation for $\pi(x)$ can be given, where $f(y, x) := \log\left(\dfrac{\log(x)}{\log\left(e(y - \lfloor y\rfloor) + x^{1/x}(1 - y + \lfloor ...
1
vote
1answer
57 views

Finding Prime triples with $p_{n} +p_{n+1} −p_{n+2} = 1$

I was just looking at a sequence of primes and suddenly I got this thought that $p_2 +p_3 −p_4 = 1$ since $p_2 = 3, p_3 = 5, p_4 = 7$. Also for $p_3 = 5, p_4 = 7, p_5 = 11$ one has $p_3 +p_4 −p_5 = ...
1
vote
2answers
53 views

Intuitively, what separates Mersenne primes from Fermat primes?

A Mersenne prime is a prime of the form $2^n-1$. A Fermat prime is a prime of the form $2^n+1$. Despite the two being superficially very similar, it is conjectured that there are infinitely many ...
1
vote
0answers
32 views

On non-divising primes of an integer $x$

We know more about divisor than non-divisors, If we consider the sets : $$P^{1}_{x} =\left \{ p \leq x : \ p \in \mathbb{P} \right \}$$ ($\mathbb{P} $ is the primes set) $$ P^{2}_{x} =\left \{ ...
2
votes
2answers
28 views

Relative error in prime number fitting

I got curious about what it would look like if I made a scatter plot of the n-th prime number as a function of n (lets call it p(n), so that p(1)=2, for instance ). Not being an expert in the area I ...
10
votes
6answers
6k views

Is a prime factor of a number always less than its square root?

I was going through the fundamental theorem in Number Theory where any non zero integer n can be represented as a product of distinct primes. A related problem with this theorem is to prove that for ...
1
vote
1answer
55 views

How many natural value of n such that $n^5+2n^4+n-1$ is prime number?

From above polynomial, I can only get one value to make it prime. The value, I guess, is only one. For $n=1$, we got: $$(n^5+2n^4+n-1)= 1+2+1-1= 3 \quad\text{(prime)}$$ But, I cannot find the ...
3
votes
0answers
46 views

Solution of a equation in natural number nvolving reciprocal of prime

Let $p$ be a prime and $n$ a natural number . Solve in $\mathbb{N}$ the equation $$\sum_{k=1}^{n}\frac{1}{x^k_k}=\frac{1}{p}$$
16
votes
7answers
3k views

Prime dividing the binomial coefficients

It is quite easy to show that for every prime $p$ and $0<i<p$ we have that $p$ divides the binomial coefficient $\large p\choose i$; one simply notes that in $\large \frac{p!}{i!(p-i)!}$ the ...
12
votes
1answer
376 views

Prove that $\sum\limits_{i=0}^{k} p^{2i}$ ($p$ is prime) is never a perfect square

Prove that $$ \sum_{i=0}^{k} p^{2i} $$ where $k > 0$ and $p$ is an arbitrary prime, is never a perfect square. I think you can prove it by letting $q = \sum\limits_{i=0}^k a_ip^i$, then expanding ...
6
votes
3answers
273 views

Conjecture: If $ N $ and $ N + 10 $ are prime, then $ N + 20 $ is composite.

Conjecture: If $ N $ and $ N + 10 $ are prime, then $ N + 20 $ is composite. Here are some examples: $ 19 $ and $ 29 $ are prime; $ 39 $ is composite. $ 241 $ and $ 251 $ are prime; $ 261 $ is ...
1
vote
1answer
49 views

The most efficient method for generating new prime numbers

What is the most efficient method for generating a prime number larger than the largest known prime number, and what is the complexity of this method? Techniques considered: Mills' Constant - ...
0
votes
1answer
23 views

Showing $f\in\mathbb{F}_{p^d}[X]:f'=0\Rightarrow\exists g\in\mathbb{F}_{p^d}[X]:f=g^p$

Let $\mathbb{F}_{p^d}$ denote the final field with $p^d$ elements and $\mathbb{F}_{p^d}[X]$ denote the polynomial ring in $X$ over $\mathbb{F}_{p^d}$. How can we show ...
5
votes
2answers
171 views

least common multiple $\lim\sqrt[n]{[1,2,\dotsc,n]}=e$

The least common multiple of $1,2,\dotsc,n$ is $[1,2,\dotsc,n]$, then $$\lim_{n\to\infty}\sqrt[n]{[1,2,\dotsc,n]}=e$$ we can show this by prime number theorem, but I don't know how to start I ...
0
votes
1answer
32 views

References for Legendre's prime-counting function

This question is about Legendre's prime-counting function, the one that can be used to calculate the exact amount of prime numbers that are less than or equal to a given number (as long as the number ...
3
votes
1answer
22 views

Find all $n$ so that $c_n$ $>$ $\pi(n^2)$

Find all $n$ $\in$ $\mathbb{N}$ so that $p_{c_n}$ $>$ $n^2$ where $p_n$ denotes the $n$-th prime and $c_n$, the $n$-th composite. I have tried doing the problem using The stronger version of ...
5
votes
1answer
115 views

Prove that $512^3 + 675^3 + 720^3$ is a composite number

We have to prove that the number $$N=512^3 + 675^3 + 720^3$$ is composite. I tried to use the identity $(a^3+b^3+c^3)=(a+b+c)(a^2+b^2+c^2-ab-bc-ca)+3abc$ hoping to take out some common ...
5
votes
7answers
224 views

Alternative Proof of Infinitely Many Primes? [duplicate]

I've seen Euclid's proof of infinitely many primes, what are other approaches to proving there are infinitely many primes?
3
votes
1answer
52 views

Solutions to $3\cdot 5 p_1 \pm 37^n p_2 =2^b\cdot 29^m p_3$

Let $p_k$ be either primes larger than $40$ or equal to $1$. $n,m$ are larger than $0$ and $b$ is either $1$ or $2$. I'm searching solutions for the following equation: $$ 3\cdot 5 p_1 \pm 37^n p_2 ...
1
vote
1answer
38 views

Euler totient of a number

If $n= \prod_{i=1}^{m} p_i$, all $p_i$ pairwise distinct, then number of coprimes below $n$ is $\prod_{i=1}^{m} (p_i-1)$. For example with $m=2$, there are $p_2-1$ multiples of $p_1$ below $n$ and ...
1
vote
3answers
47 views

If there is an $a\in\mathbb{Z}$ with $a^{n-1}\equiv 1\mod n$ but $a^{\frac{n-1}p}\not\equiv 1$ for all primes $p\mid n-1$, then $n$ is a prime

Let $n\in\mathbb{N}$ with $n\ge 3$ and $a\in\mathbb{Z}$ such that $$a^{n-1}\equiv1\text{ mod } n\;\;\;\wedge\;\;\;a^{\frac{n-1}{p}}\not\equiv1\text{ mod }n\;\;\;\forall p\in\mathbb{P}:p\mid n-1$$ ...
3
votes
1answer
51 views

Conjecture about prime numbers

$$\forall k\in\mathbb{N},k\ge1,\exists p:k^3\lt p\lt (k+1)^3$$ with $p$ prime number. In other words is it possible to prove that for every $k\gt1$, with $k$ integer number it exists a prime number ...
2
votes
0answers
59 views

Is this a conjecture or an already existing one??

Does the following inequality hold? $p(n)\leq 2^n,$ where $p(n)$ is the $n$th prime. If this is true then it follows that: If $p(n)=p(m)^x+p(o)^y$, then $\max[x,y] \le n$.
15
votes
4answers
5k views

How many prime numbers are known?

Wikipedia says that the largest known prime number is $2^{43,112,609}-1$ and it has 12,978,189 digits. I keep running into this question/answer over and over, but I haven't been able to find how many ...
77
votes
5answers
6k views

What is the Riemann-Zeta function?

In laymen's terms, as much as possible: What is the Riemann-Zeta function, and why does it come up so often with relation to prime numbers?
0
votes
1answer
56 views

Under assumption that $\frac{M_{n+1}}{M_n} \le 2$, what is true?

This question was hinted upon with the still open question at [1]. Let $M_n = $ A005250($n$) of the OEIS. That is to say, $M_n = p_{i+1}-p_i$, where $p_i$ is the smallest prime such that $p_{i+1} - ...
0
votes
1answer
36 views

If p is a prime positive integer, find all subfields of GF(p)

If p is a prime positive integer, find all subfields of GF(p) This question just seems too vague.
3
votes
1answer
67 views

1-to-1 correspondence between twin primes and $n^2-1$

I am trying to establish the one-to-one correspondence of twin primes to integers $n$ where $n^2-1$ has 4 divisors. It is clear to me that this is the case, since $$n^2-1=(n+1)(n-1)$$ where the RHS ...
6
votes
1answer
89 views

(Easy?) consequence of the Riemann Hypothesis

I'm trying to show that the relation $\psi(x)=x+O(\sqrt{x}\log ^2 x)$ (consequence of the Riemann hypothesis) implies $\pi(x)=Li(x)+O(\sqrt{x}\log x)$, where $Li(x)=\int_2^x \frac{dt}{\log t}$. I ...
0
votes
1answer
19 views

Relationship between the Carmichael function and Euler's totient function

Let $\lambda$ denote the Carmichael function and $\varphi$ Euler's totient function. Furthermore, let $p$ denote any prime number and $k\in\mathbb{N}$. The wikipedia article about $\lambda$ states: ...
1
vote
1answer
30 views

Any simpler way to do Pollard's p-1 method?

I found calculating factorization by Pollard's p-1 method is almost impossible if use a conventional scientific calculator. For example, I am trying to factor ...
4
votes
1answer
59 views

Primes in an Infinite Set

Let $S$ be the infinite set of positive integers whose members can be written with no digits except $0$ and $1$ and with no more than $1988$ $1s$. Show that some integer $n$ does not divide any member ...
8
votes
2answers
284 views

diophantine equation $ |x^2-py^2|=\frac{p-1}{2} $

Prime $p\equiv3\pmod4$, then diophantine equation $$ |x^2-py^2|=\frac{p-1}{2} $$ has a solution in integers en, $x^2-py^2=-1$ has no solution in integers. I'd be grateful for any help you are ...
2
votes
1answer
65 views

Proof that there are infinitely many primes of the form $6k+1$. Proof verification

Theorem. there are infinitely many primes of the form $6k+1$. I've just proved that there are infinitely many primes of the form $6k+1$. Could you please check my proof? At first, I proved that ...
8
votes
4answers
552 views

Is there always a prime number between $p_n^2$ and $p_{n+1}^2$?

The following table indicates that there is a prime number p between the square of two consecutive primes. $$ \displaystyle \begin{array}{rrrr} \text{n} & p_n^2 & p_{n+1}^2 & \text{p} \\ ...
1
vote
1answer
50 views

On Newman/Zagier's proof of PNT

I have just got this paper: http://people.mpim-bonn.mpg.de/zagier/files/doi/10.2307/2975232/fulltext.pdf and I have a serious doubt: When proving that soft Tauberian theorem he explicitly uses ...
1
vote
1answer
33 views

Divisibility of sum of exponents

Consider the sequence $$r, \ ra, \ ra^2, \ ra^3, ... \ , ra^n \mod M $$ such that: $$ ra^{n+1} \equiv r \mod M$$ and $a \ne 1$ and $a,r$ are both coprime to $M$ Is it always true then that: ...