OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
14 is a term since its divisors are {1, 2, 7, 14}, their representations in primorial base (A049345) are {1, 10, 101, 210}, and their sum of sums of digits is 1 + (1 + 0) + (1 + 0 + 1) + (2 + 1 + 0) = 7 which is a divisor of 14.
MATHEMATICA
max = 5; bases = Prime@Range[max, 1, -1]; nmax = Times @@ bases - 1; primDigSum[n_] := Plus @@ IntegerDigits[n, MixedRadix[bases]]; primDivDigDum[n_] := DivisorSum[n, primDigSum[#] &]; Select[Range[nmax], Divisible[#, primDivDigDum[#]] &]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Amiram Eldar, Mar 29 2020
STATUS
approved