OFFSET
1,1
MAPLE
A076381 := proc(n) local i, j, t, t1, sod, sopd; t := NULL; for i from 2 to n do t1 := i; sod := 0; while t1 <> 0 do sod := sod + (t1 mod 3); t1 := floor(t1/3); od; sopd := 0; j := 1; while ithprime(j) <= i do if i mod ithprime(j) = 0 then sopd := sopd+ithprime(j); fi; j := j+1; od; if sopd mod sod = 0 then t := t, i; fi; od; t; end;
MATHEMATICA
Select[Range[2, 400], Divisible[Total[FactorInteger[#][[All, 1]]], Total[ IntegerDigits[ #, 3]]]&] (* Harvey P. Dale, Jul 09 2018 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Floor van Lamoen, Oct 08 2002
STATUS
approved