OFFSET
1,2
COMMENTS
Numbers k such that lcm over p^e || k of (p + e) divides k.
There are no primes and no squarefree numbers > 1 in this sequence: for k = p we would need (p + 1) | p; for squarefree k every e = 1 forces (p + 1) | k for each p | k, which is impossible.
If k is odd and has at least two distinct odd primes, then either some exponent e is odd, in which case p + e is even and the lcm is even (so it cannot divide odd k); or all exponents are even, so k is a perfect square. Write k = Product_{i} p_i^{2*f_i}. Then for each i, p_i + 2*f_i is odd and coprime to p_i, so any prime factor of p_i + 2*f_i must be among the other p_j. For two distinct indices i <> j this would force simultaneous congruences p_i == -2*f_i (mod p_j) and p_j == -2*f_j (mod p_i), which cannot all hold unless k has only one prime factor. Hence k cannot have >= 2 distinct odd primes, so odd terms are prime powers with even exponent (A259417). Smallest odd term > 1: 729 = 3^6.
Conjecture: This sequence has natural density 0: the divisibility conditions are stronger than for refactorable numbers (which already have density 0); in particular, for k = Product_{i} p_i^{e_i}, each (p_i + e_i) must be p_n-smooth and divide k.
Comparison with A033950:
------------------------------------------------------------------------------------------------
Divisibility Product_{i} (e_i + 1) divides k Product_{i} (e_i + p_i) divides k
Primes Only prime term is 2 No prime term
Squarefree numbers Only 1 and 2 Only 1
Odd terms Perfect squares Perfect squares that are odd prime powers
Natural density 0 0 (conjectured)
LINKS
Felix Huber, Table of n, a(n) for n = 1..10000
EXAMPLE
54 = 2^1*3^3 is a term because (2 + 1) = 3 and (3 + 3) = 6 both divide 54.
840 = 2^3*3^1*5^1*7^1 is a term because (2 + 3) = 5, (3 + 1) = 4, (5 + 1) = 6 and (7 + 1) = 8 all divide 840.
MAPLE
MATHEMATICA
q[k_] := AllTrue[FactorInteger[k], Divisible[k, Total[#]] &]; q[1] = True; Select[Range[3000], q] (* Amiram Eldar, Feb 24 2026 *)
PROG
(PARI) isok(k) = if (k==1, 1, my(f=factor(k)); for (i=1, #f~, if (k % (f[i, 1]+f[i, 2]), return(0))); 1); \\ Michel Marcus, Feb 25 2026
CROSSREFS
KEYWORD
nonn
AUTHOR
Felix Huber, Feb 23 2026
STATUS
approved
