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.

A339902 Number of prime divisors of A339821(n), counted with multiplicity.

This page as a plain text file.
%I A339902 #7 Dec 21 2020 23:03:42
%S A339902 0,1,2,3,2,3,4,5,2,3,4,5,4,5,6,7,3,4,5,6,5,6,7,8,5,6,7,8,7,8,9,10,4,5,
%T A339902 6,7,6,7,8,9,6,7,8,9,8,9,10,11,7,8,9,10,9,10,11,12,9,10,11,12,11,12,
%U A339902 13,14,3,4,5,6,5,6,7,8,5,6,7,8,7,8,9,10,6,7,8,9,8,9,10,11,8,9,10,11,10,11,12,13,7
%N A339902 Number of prime divisors of A339821(n), counted with multiplicity.
%H A339902 Antti Karttunen, <a href="/A339902/b339902.txt">Table of n, a(n) for n = 0..65537</a>
%H A339902 <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a>
%F A339902 If 4n = 2^e1 + 2^e2 + ... + 2^ek [e1 ... ek distinct], then a(n) = A023508(e1) + A023508(e2) + ... + A023508(ek).
%F A339902 a(n) = A001222(A339821(n)).
%F A339902 a(n) = A001222(A003972(A019565(n))) = A001222(A000010(A019565(2n))).
%F A339902 a(n) >= A339822(n).
%o A339902 (PARI) A339902(n) = { my(s=0, p=2); while(n>0, p = nextprime(1+p); if(n%2, s += bigomega(p-1)); n >>= 1); (s); };
%Y A339902 Cf. A000010, A001222, A003972, A019565, A023508, A339821, A339822, A339906.
%K A339902 nonn
%O A339902 0,3
%A A339902 _Antti Karttunen_, Dec 21 2020