OFFSET
1,1
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
Charles Kusniec, Composite Numbers Map for the OEIS.
Charles Kusniec, Distribution of gaps in A392009 for the first 5650 terms
FORMULA
a(n) = 2*A024556(n).
EXAMPLE
The smallest even squarefree number with exactly 3 distinct prime factors is 30 = 2*3*5.
MATHEMATICA
Select[Range[2, 534, 2], SquareFreeQ[#] && PrimeOmega[#] >= 3 &] (* Michael De Vlieger, Dec 29 2025 *)
PROG
(Python)
from math import isqrt
from sympy import primepi, mobius
from oeis_sequences.OEISsequences import bisection
def A392009(n):
if n == 1: return 30
def f(x): return int(n+x+primepi(y:=x>>1)-sum(mobius(k)*(y//k**2+1>>1) for k in range(1, isqrt(y)+1, 2)))
return bisection(f, n, n) # Chai Wah Wu, Jan 07 2026
CROSSREFS
KEYWORD
nonn
AUTHOR
Charles Kusniec, Dec 26 2025
STATUS
approved
