cp's OEIS Frontend

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.

A351439 Number of prime factors p of n such that p^(1+valuation(n,p)) divides sigma(n).

This page as a plain text file.
%I A351439 #20 Feb 17 2022 00:02:29
%S A351439 0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,2,0,0,0,0,
%T A351439 0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,1,0,0,1,0,0,0,0,0,1,0,1,0,0,0,2,0,0,
%U A351439 0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,1,0,0,0,0,0,2,0,0,0,0,0,1
%N A351439 Number of prime factors p of n such that p^(1+valuation(n,p)) divides sigma(n).
%H A351439 Antti Karttunen, <a href="/A351439/b351439.txt">Table of n, a(n) for n = 1..65537</a>
%H A351439 <a href="/index/Si#SIGMAN">Index entries for sequences related to sigma(n)</a>
%F A351439 For all n >= 1, a(n) <= A001221(n). [Apparently this is sharp for n > 1].
%F A351439 For all n >= 1, a(n) >= A351539(n).
%e A351439 For n = 30 = 2*3*5, sigma(30) = 72 = 2^3 * 3^2 and thus for two of the three prime factors of 30, a higher power of the same prime divides sigma(30), and therefore a(30) = 2.
%t A351439 {0}~Join~Table[Function[m, Count[FactorInteger[n][[All, 1]], _?(Mod[m, #^(1 + IntegerExponent[n, #])] == 0 &)]][DivisorSigma[1, n]], {n, 2, 108}] (* _Michael De Vlieger_, Feb 16 2022 *)
%o A351439 (PARI) A351439(n) = { my(f=factor(n),s=sigma(n)); sum(k=1,#f~,(0==(s%(f[k,1]^(1+f[k,2]))))); };
%Y A351439 Cf. A000203, A001221, A007691, A286561, A351539.
%Y A351439 Cf. also A336352.
%K A351439 nonn
%O A351439 1,30
%A A351439 _Antti Karttunen_, Feb 16 2022