A229899 · a(n) = |{0<g<p_n: g-1, g, g+1 are primitive roots mod p_n}|, where p_n denotes the n-th prime.
Imported on
This entry contains a conjecture recorded in the OEIS. Its status has not been independently checked across the literature.
Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.
Problem statement
Conjecture: a(n) > 0 except for n = 1, 2, 3, 4, 6, 10, 18. In other words, for any prime p > 7 not equal to 13 or 29 or 61, there are three consecutive integers which are primitive roots modulo p.
Zhi-Wei Sun also made the following conjectures:
The conjecture that a(n) > 0 except for n = 1, 2, 3, 4, 6, 10, 18 follows from Theorem 1 of Cohen, Oliveira e Silva and Trudgian (2015). For an odd prime power q, their theorem states that F_q contains three consecutive primitive elements if and only if q is not one of 3, 5, 7, 9, 13, 25, 29, 61, 81, 121, 169. The primes in this list are 3, 5, 7, 13, 29 and 61, namely p_2, p_3, p_4, p_6, p_10 and p_18. The remaining exception n = 1 (p = 2) is immediate, since at least one of any three consecutive integers is divisible by 2. - Eiver Rodríguez, Sep 05 2026
Definitions and context
a(n) = |{0<g<p_n: g-1, g, g+1 are primitive roots mod p_n}|, where p_n denotes the n-th prime.
First recorded terms: 0,0,0,0,1,0,2,1,1,0,1,2,2,2,4,6,7,0,1,2,2,1,10,10,8,4,4,13,4,6,3,5,10,3,20,2,6,6,19,18,22,4,11,6,16,4,3,7,28,8,28,16,4,16,32,31,30,5,8,16,13,32,7,17,6,40,7,2,43,8,36,43,10,12,8,46,44,8,30,16,39,8,24,20,11,39,30,14,22,9,58,58,22,17,22,61,60,30,21,10
Example from the source
a(5) = 1 since 6, 7, 8 are primitive roots modulo p_5 = 11.
a(7) = 2 since 5, 6, 7, 10, 11, 12 are primitive roots modulo p_7 = 17.
a(8) = 1 since 13, 14, 15 are primitive roots modulo p_8 = 19.
Statement and context adapted from OEIS · Zhi-Wei Sun, Oct 02 2013
CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history
A few useful definitions
- Prime number
- An integer greater than 1 whose only positive divisors are 1 and itself. Examples include 2, 3, 5 and 7.
Sources and original status
- OEIS Status in source : conjecture recorded in OEIS
Coverage, sources and method
This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.
This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.
Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.
Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.
Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.
OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.
Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.
Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.
- Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
- Erdős Problems (teorth) · 622 · Apache-2.0
- Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
- OEIS · 18,857 · CC BY-SA 4.0
- MathOverflow · 19,035 · CC BY-SA (version on each entry)
- Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)