login
A392672
Smallest number m such that m*(m+1)*(m+2) has exactly n distinct prime factors.
3
1, 3, 5, 13, 33, 153, 285, 713, 5795, 18445, 90363, 304589, 1013725, 5617820, 23738713, 123702369, 556876529, 3760113565, 18723991845, 41704979953
OFFSET
2,2
COMMENTS
Conjecture: this is an increasing sequence.
a(22) <= 1782994645795, a(23) <= 6127197154440, a(24) <= 34529471219670, a(25) <= 906874931149913. - David A. Corneth, May 14 2026
EXAMPLE
For n = 9, a(9)*(a(9) + 1)*(a(9) + 2) = 713*714*715 = (23*31)*(2*3*7*17)*(5*11*13) with 9 distinct prime factors.
MATHEMATICA
a[n_]:=(k=1; While[PrimeNu[Times@@{k, k + 1, k + 2}]!=n, k++]; k);
Table[a[n], {n, 2, 10}]
PROG
(Python)
from itertools import count, islice
from sympy import factorint
def agen(): # generator of terms
wlst, adict, n = [set(factorint(1+i)) for i in range(3)], dict(), 2
for m in count(1):
v = len(wlst[0] | wlst[1] | wlst[2])
if v >= n and v not in adict:
adict[v] = m
while n in adict:
yield adict[n]
n += 1
wlst = wlst[1:] + [set(factorint(m+3))]
print(list(islice(agen(), 13))) # Michael S. Branicky, May 05 2026
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Zhining Yang, Apr 30 2026
STATUS
approved