A339902 Number of prime divisors of A339821(n), counted with multiplicity.
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, 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, 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
Offset: 0
Keywords
Links
Programs
-
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); };