OFFSET
1,2
COMMENTS
From Amiram Eldar, Sep 11 2025: (Start)
A squarefree number is a term if and only if it is deficient (i.e., in A087246).
If p_1, p_2, ..., p_k are the distinct prime factors of a number, then it is a term if and only if Product_{i=1..k} (1 + 1/p_i) < 2. (End)
EXAMPLE
16 is in the sequence since psi(16) = 24 < 32.
MATHEMATICA
psi[n_] := n Sum[MoebiusMu[d]^2/d, {d, Divisors[n]}]; Select[Range[88], psi[#]<2# &] (* Stefano Spezia, Sep 11 2025 *)
PROG
(PARI) isok(k) = vecprod(apply(x -> 1 + 1/x, factor(k)[, 1])) < 2; \\ Amiram Eldar, Sep 11 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
S. I. Dimitrov, Sep 11 2025
STATUS
approved
