A394418 · a(1) = 1, a(2) = 2; for n > 2, a(n) is an unused positive number that shares a factor with a(n-1) while being as close as possible to a(n-2). If two such numbers exist then the larger is chosen.
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
Overall the primes are rare, only 73 terms being prime in the first 10^8 terms, see A394419, and they do not occur in their natural order. In this range the smallest missing prime is 19, although, given the pattern of the lower line approaching the x-axis, it is conjectured eventually all numbers will appear.
Definitions and context
a(1) = 1, a(2) = 2; for n > 2, a(n) is an unused positive number that shares a factor with a(n-1) while being as close as possible to a(n-2). If two such numbers exist then the larger is chosen.
First recorded terms: 1,2,4,6,3,9,12,10,14,8,16,18,15,20,22,24,21,27,30,28,32,26,34,17,51,33,54,36,56,35,55,40,58,42,57,45,60,46,62,48,63,49,70,50,72,52,74,44,76,38,78,39,81,66,82,68,84,69,87,75,85,80,86,88,90,92,94
Example from the source
a(8) = 10 as 10 is unused, shares a factor with a(7) = 12, and is only 1 away from a(6) = 9. This is the first term to differ from A394413. Note that 8 also satisfies these same criteria, but the larger of the two possible values is chosen.
Statement and context adapted from OEIS · Scott R. Shannon, Mar 20 2026
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)