OFFSET
0,2
EXAMPLE
MATHEMATICA
digitSum[n_] := Total @ IntegerDigits[n]; hoaxQ[n_] := CompositeQ[n] && Total[digitSum /@ FactorInteger[n][[;; , 1]]] == digitSum[n]; f[n_] := DivisorSum[n, 1 &, hoaxQ[#] &]; seq[len_, nmax_] := Module[{s = Table[0, {len}], c = 0, n = 1, i}, While[c < len && n < nmax, i = f[n] + 1; If[i <= len && s[[i]] == 0, c++; s[[i]] = n]; n++]; s]; seq[10, 10^5] (* Amiram Eldar, Sep 26 2022 *)
PROG
(Magma) hoax:=func<n| not IsPrime(n) and (&+Intseq(n, 10) eq &+[ &+Intseq(p, 10): p in PrimeDivisors(n)])>; a:=[]; for n in [0..33] do k:=1; while #[d:d in Set(Divisors(k)) diff {1}|hoax(d)] ne n do k:=k+1; end while; Append(~a, k); end for; a;
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Marius A. Burtea, Sep 20 2022
STATUS
approved