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 A324848 #14 Apr 14 2021 04:20:00 %S A324848 0,1,0,2,0,2,0,3,0,1,0,3,0,1,1,4,0,3,0,2,0,1,0,4,0,1,0,3,0,3,0,5,0,1, %T A324848 0,4,0,1,0,3,0,2,0,2,1,1,0,5,0,1,0,2,0,4,1,4,0,1,0,4,0,1,0,6,0,2,0,2, %U A324848 0,1,0,5,0,1,2,2,0,3,0,4,0,1,0,4,0,1,0 %N A324848 Number of prime indices of n (counted with multiplicity) that divide n. %C A324848 A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798. %H A324848 Amiram Eldar, <a href="/A324848/b324848.txt">Table of n, a(n) for n = 1..10000</a> %e A324848 The prime indices of 6776 are {1,1,1,4,5,5}, four of which {1,1,1,4} divide 6776, so a(6776) = 4. %t A324848 Table[Total[Cases[If[n==1,{},FactorInteger[n]],{p_,k_}:>k/;Divisible[n,PrimePi[p]]]],{n,100}] %Y A324848 The version for distinct prime indices is A324852. %Y A324848 Positions of zeros are A324846. %Y A324848 Positions of ones are A324856. %Y A324848 Cf. A003963, A056239, A112798, A120383, A323440, A324704, A324847, A324849, A324850, A324853. %K A324848 nonn %O A324848 1,4 %A A324848 _Gus Wiseman_, Mar 18 2019