This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A356981 #23 Sep 14 2022 02:06:26 %S A356981 2,3,5,7,84,144,160,250,343,468,735,936,975,1125,1215,1375,1408,1600, %T A356981 1694,1872,2401,2500,2646,2880,3920,4913,6084,6318,6860,7296,7695, %U A356981 8624,8704,8788,9126,10125,10240,10816,11264,12672,12675,14641,14896,16000 %N A356981 Numbers k such that the sum of distinct digits of k equals the sum of the prime divisors of k. %C A356981 Similar to A070275, where distinctness of digits is not required. %e A356981 144 = 2^4*3^2 and 1+4=2+3. Thus, 144 is in this sequence. %t A356981 Select[Range[2, 20000],Total[Union[IntegerDigits[#]]] == Total[Transpose[FactorInteger[#]][[1]]] &] %o A356981 (Python) %o A356981 from itertools import count, islice %o A356981 from sympy import primefactors %o A356981 def A356981_gen(startvalue=1): # generator of terms >= startvalue %o A356981 return filter(lambda k:sum(int(d) for d in set(str(k)))==sum(primefactors(k)), count(max(startvalue,1))) %o A356981 A356981_list = list(islice(A356981_gen(),30)) # _Chai Wah Wu_, Sep 12 2022 %o A356981 (PARI) isok(k) = vecsum(Set(digits(k))) == vecsum(factor(k)[, 1]); \\ _Michel Marcus_, Sep 12 2022 %Y A356981 Cf. A070275, A217928. %K A356981 nonn,base %O A356981 1,1 %A A356981 _Tanya Khovanova_, Sep 09 2022