login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A353486
Primorial base exp-function reduced modulo 4.
12
1, 2, 3, 2, 1, 2, 1, 2, 3, 2, 1, 2, 1, 2, 3, 2, 1, 2, 1, 2, 3, 2, 1, 2, 1, 2, 3, 2, 1, 2, 3, 2, 1, 2, 3, 2, 3, 2, 1, 2, 3, 2, 3, 2, 1, 2, 3, 2, 3, 2, 1, 2, 3, 2, 3, 2, 1, 2, 3, 2, 1, 2, 3, 2, 1, 2, 1, 2, 3, 2, 1, 2, 1, 2, 3, 2, 1, 2, 1, 2, 3, 2, 1, 2, 1, 2, 3, 2, 1, 2, 3, 2, 1, 2, 3, 2, 3, 2, 1, 2, 3, 2, 3, 2, 1, 2
OFFSET
0,2
COMMENTS
There are no zeros because A276086 is a permutation of A048103.
FORMULA
a(n) = A010873(A276086(n)).
For n >= 1, a(n) = A010873(A353516(n) * A353526(n)).
For all n >= 0, a(2n) = A353487(n), a(2n+1) = 2.
PROG
(PARI)
A276086(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (m); };
A353486(n) = (A276086(n)%4);
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Apr 24 2022
STATUS
approved