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 A307409 #38 Feb 17 2021 20:25:52 %S A307409 0,0,0,1,0,2,0,2,1,2,0,4,0,2,2,3,0,4,0,4,2,2,0,6,1,2,2,4,0,6,0,4,2,2, %T A307409 2,6,0,2,2,6,0,6,0,4,4,2,0,8,1,4,2,4,0,6,2,6,2,2,0,9,0,2,4,5,2,6,0,4, %U A307409 2,6,0,8,0,2,4,4,2,6,0,8,3,2,0,9,2,2,2,6,0,9,2,4,2,2,2,10,0,4,4,6,0,6,0,6 %N A307409 a(n) = (A001222(n) - 1)*A001221(n). %C A307409 a(n) + 2 appears to differ from A000005 at n=1 and when n is a term of A320632. Verified up to n=3000. %C A307409 If A320632 contains the numbers such that A001222(n) - A051903(n) > 1, then this sequence contains precisely the numbers p^k and p^k*q for distinct primes p and q. The comment follows, since d(p^k) = k+1 = (k-1)*1 + 2 and d(p^k*q) = 2k+2 = ((k+1)-1)*2 + 2. - _Charlie Neder_, May 14 2019 %C A307409 Positions of first appearances are A328965. - _Gus Wiseman_, Nov 05 2019 %C A307409 Regarding Neder's comment above, see also my comments in A322437. - _Antti Karttunen_, Feb 17 2021 %H A307409 Antti Karttunen, <a href="/A307409/b307409.txt">Table of n, a(n) for n = 1..65537</a> %H A307409 <a href="/index/Eu#epf">Index entries for sequences computed from exponents in factorization of n</a> %F A307409 a(n) = (A001222(n) - 1)*A001221(n). %F A307409 a(n) = binomial(A001222(n) - 1, 1)*binomial(A001221(n), 1). %F A307409 a(n) = A307408(n) - 2. %t A307409 a[n_] := (PrimeOmega[n] - 1)*PrimeNu[n]; %t A307409 aa = Table[a[n], {n, 1, 104}]; %o A307409 (PARI) a(n) = (bigomega(n) - 1)*omega(n); \\ _Michel Marcus_, May 15 2019 %Y A307409 Two less than A307408. %Y A307409 A113901(n) is bigomega(n) * omega(n). %Y A307409 A328958(n) is sigma_0(n) - bigomega(n) * omega(n). %Y A307409 Cf. A000005, A001221, A001222, A060687, A070175, A071625, A113901, A124010, A303555, A320632, A323023, A328956, A328957, A328964, A328965, A322437. %K A307409 nonn %O A307409 1,6 %A A307409 _Mats Granvik_, Apr 07 2019