(Translated by https://www.hiragana.jp/)
A336124 - OEIS
login
A336124
a(n) = A122111(n) mod 4.
10
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, 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, 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
OFFSET
1,2
LINKS
FORMULA
a(n) = A010873(A122111(n)).
PROG
(PARI)
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)};
A122111(n) = if(1==n, n, prime(bigomega(n))*A122111(A064989(n)));
A336124(n) = (A122111(n)%4);
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 15 2020
STATUS
approved