OFFSET
1,1
COMMENTS
Odd composite numbers x whose prime factorization has either one prime squared or distinct primes.
Odd composite numbers x for which there exists y with 1 <= y <= floor(x/4) such that x*y is a square number (for odd prime-power x), or for which there exists y with 2 <= y <= floor(x/4) such that x*y is an oblong number (for odd squarefree x).
Omega(x) = omega(x) >= 2 (for odd squarefree composites), Omega(x) > omega(x) = 1 (for odd prime-power composites).
LINKS
Charles Kusniec, Composite Numbers Map for the OEIS.
MATHEMATICA
Select[Range[9, 259, 2], Xor[SquareFreeQ[#], PrimePowerQ[#]] &] (* Michael De Vlieger, Nov 23 2025 *)
PROG
(Python)
from math import isqrt
from sympy import primepi, integer_nthroot, mobius
def A390760(n):
def f(x): return int(n+x-sum(primepi(integer_nthroot(x, k)[0])-1 for k in range(2, x.bit_length()))+primepi(x)-sum(mobius(k)*(x//k**2+1>>1) for k in range(1, isqrt(x)+1, 2)))
m, k = n+1, f(n+1)
while m != k: m, k = k, f(k)
return m # Chai Wah Wu, Nov 25 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Charles Kusniec, Nov 17 2025
STATUS
approved
