OFFSET
1,1
COMMENTS
If x is in A359074 then x*y is a term for all y >= 2. - Robert Israel, Jan 19 2023
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
24 is a term since its proper divisors 3 and 12 have an equal sum of digits.
MAPLE
q:= n-> (s-> is(nops(s)>nops({s[]})))(map(x-> add(i, i=convert(x,
base, 10)), [(numtheory[divisors](n) minus {n})[]])):
select(q, [$1..200])[]; # Alois P. Heinz, Dec 18 2022
MATHEMATICA
a={}; For[k=1, k<=210, k++, If[Length[Intersection[Table[Total[Part[IntegerDigits[Divisors[k]], i]], {i, DivisorSigma[0, k]-1}]]] < DivisorSigma[0, k]-1, AppendTo[a, k]]]; a
PROG
(PARI) isok(k) = my(d=setminus(Set(divisors(k)), [k])); #Set(apply(sumdigits, d)) < #d; \\ Michel Marcus, Dec 19 2022
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Stefano Spezia, Dec 15 2022
STATUS
approved