OFFSET
1,2
COMMENTS
Empirically, all terms under 1 million have 6 nontrivial divisors, with perfect squares having 5 nontrivial divisors, and so it seems that each term in the sequence is the product of three distinct numbers.
The majority of the terms are the product of 3 primes, but there are also terms in the form p*q*p^2, p*p^2*q, or p*p^2*p^3.
The first consecutive integers that appear in the sequence are a(45)=874 and a(46)=875.
LINKS
Tom Gadron, Java Program
EXAMPLE
24 is a term because the nontrivial divisors of 24 are 2,3,4,6,8,12, and 24=2*3*4.
30 is a term because the nontrivial divisors of 30 are 2,3,5,6,10,15, and 30=2*3*5.
135 is a term because the nontrivial divisors of 135 are 3,5,9,15,27,45, and 135=3*5*9.
729 is a term because the nontrivial divisors of 729 are 3,9,27,81,243, and 729=3*9*27.
MATHEMATICA
q[k_] := Times @@ Select[Divisors[k], #^2 <= k &] == k; Select[Range[1200], q] (* Amiram Eldar, Jan 05 2025 *)
PROG
(Java) \\ See Gadron link.
(PARI) isok(k) = my(d=divisors(k)); d=setminus(d, Set([1, k])); vecprod(Vec(d, #d\2 + #d%2)) == k; \\ Michel Marcus, Jan 05 2025
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Tom Gadron, Jan 04 2025
STATUS
approved