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.

A336124 a(n) = A122111(n) mod 4.

This page as a plain text file.
%I A336124 #6 Jul 15 2020 13:58:26
%S A336124 1,2,0,3,0,2,0,1,1,0,0,2,0,0,2,3,0,3,0,0,0,0,0,2,3,0,1,0,0,2,0,3,0,0,
%T A336124 2,1,0,0,0,0,0,0,0,0,2,0,0,2,1,1,0,0,0,3,0,0,0,0,0,2,0,0,0,1,0,0,0,0,
%U A336124 0,2,0,1,0,0,3,0,2,0,0,0,1,0,0,0,0,0,0,0,0,2,0,0,0,0,0,2,0,3,0,3,0,0,0,0,2
%N A336124 a(n) = A122111(n) mod 4.
%H A336124 Antti Karttunen, <a href="/A336124/b336124.txt">Table of n, a(n) for n = 1..65537</a>
%F A336124 a(n) = A010873(A122111(n)).
%o A336124 (PARI)
%o A336124 A064989(n) = {my(f); f = factor(n); if((n>1 && f[1,1]==2), f[1,2] = 0); for (i=1, #f~, f[i,1] = precprime(f[i,1]-1)); factorback(f)};
%o A336124 A122111(n) = if(1==n,n,prime(bigomega(n))*A122111(A064989(n)));
%o A336124 A336124(n) = (A122111(n)%4);
%Y A336124 Cf. A010873, A064989, A122111, A336120.
%K A336124 nonn
%O A336124 1,2
%A A336124 _Antti Karttunen_, Jul 15 2020