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 A373850 #6 Jun 20 2024 17:50:21 %S A373850 0,0,0,0,1,0,0,0,1,0,1,0,1,0,0,0,2,0,2,0,1,0,1,0,1,0,2,0,0,0,0,0,1,0, %T A373850 2,0,1,0,1,0,0,0,2,1,1,0,1,0,1,0,2,0,3,0,1,0,1,0,2,0,1,1,0,0,0,0,2,0, %U A373850 1,0,2,0,1,2,2,0,0,0,0,0,1,0,2,0,1,0,1,0,3,0,2,0,1,0,1,0,1,1,2,0,0,0,1,2,1 %N A373850 a(n) = A276085(n) mod bigomega(n), where bigomega (A001222) and A276085 are fully additive with a(p) = 1 and a(p) = p#/p respectively. %H A373850 Antti Karttunen, <a href="/A373850/b373850.txt">Table of n, a(n) for n = 2..100000</a> %o A373850 (PARI) %o A373850 A276085(n) = { my(f = factor(n)); sum(k=1, #f~, f[k, 2]*prod(i=1,primepi(f[k, 1]-1),prime(i))); }; %o A373850 A373850(n) = (A276085(n)%bigomega(n)); %Y A373850 Cf. A001222, A276085, A373832 [= a(A276086(n))], A373851, A373852 (after its initial term, gives the indices of 0's). %K A373850 nonn %O A373850 2,17 %A A373850 _Antti Karttunen_, Jun 20 2024