A395970 · Lexicographically earliest sequence of nonprime terms such that a(n) shares a factor with exactly n other terms.
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
There appears to be no easy method of generating each a(n) other than choosing the earliest semiprime that satisfies the condition that it can share with n other terms while not violating the same criteria for all other terms it may share a factor with. To achieve this when a prime appears as a factor for the first time one must track the number of subsequent terms that must contain that as a factor so that a(n) can be satisfied. Each time that prime appears as a factor in subsequent terms that number is decremented; when it reaches zero no further terms can contain that prime as a factor. When a candidate semiprime is considered one must calculate the number of required terms still to come that must contain its primes as factors, and add to that the number of terms that have already appeared that contain these primes as factors. If that sum equals n then that implies the candidate semiprime can be satisfied so it can be chosen as the next term. Typically the sum will be less than n, implying that the primes for the candidate will not be able to be chosen as factors of subsequent terms before the candidate term has shared with n other terms. In this case the next lowest semiprime candidate must then be trialled. For the terms studied it appears this method never allows the square of primes to be terms, and it conjectured this is true for all n>1.
Definitions and context
Lexicographically earliest sequence of nonprime terms such that a(n) shares a factor with exactly n other terms.
First recorded terms: 1,4,6,15,35,55,91,119,187,209,247,253,299,377,403,527,589,629,697,731,817,893,989,1007,1121,1219,1357,1403,1541,1633,1679,2117,2263,2291,2407,2573,2581,2759,2813,2929,2987,3103,3161,3379,3503,3937,4061,4247,4847,5069
Example from the source
a(0) = 1, as 1 shares zero factors with any other terms.
a(1) = 4, the first nonprime term. As this is even there can only be one more even term.
a(2) = 6. This shares a factor with a(1) = 4, and so satisfies a(1) sharing a factor with one other term. This is the last even term.
a(3) = 15. This satisfies a(2) sharing a factor with two other terms; it is the last term divisible by 3. A smaller nonprime odd value is 9 = 3*3, but then a(2) would share factors with two terms so no further terms could contain 2 or 3 as factors, but that would violate the condition that a(3) = 9 needs to share a factor with three other terms.
a(8) = 187. Note that 187 = 11*17 so it is the first term whose larger prime factor does not equal prime(n), and hence is the first term to differ from A395795. This value can be accepted as after 187 two more terms must contain a factor of 11 to satisfy a(5) = 55, four more terms must contain a factor of 17 to satisfy a(7) = 119, while there have been two prior terms that contain 11 and 17 as factors, and as 2 + 4 + 2 = 8, the value a(8) = 187 can be satisfied.
a(9) = 209. Note that 209 = 11*19 and 19 has not appeared as a factor of any previous term. Any time such a prime occurs the candidate will always be accepted as the number of required subsequent appearance of that prime as a factor can be set such that the sum of the number of previous terms containing the other prime factor, the number of subsequent terms still remaining that will contain the other prime factor, and the number of subsequent terms still remaining that will contain the new prime factor equals n. In this particular case 11 has appeared as a factor in two previous terms and it must appear in one more term to satisfy a(5) = 55, so 19 must therefore appear as a factor in 9 - 2 - 1 = 6 more terms.
Statement and context adapted from OEIS · Scott R. Shannon, May 12 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)