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”).

A358850
Primorial base exp-function reduced modulo 12.
3
1, 2, 3, 6, 9, 6, 5, 10, 3, 6, 9, 6, 1, 2, 3, 6, 9, 6, 5, 10, 3, 6, 9, 6, 1, 2, 3, 6, 9, 6, 7, 2, 9, 6, 3, 6, 11, 10, 9, 6, 3, 6, 7, 2, 9, 6, 3, 6, 11, 10, 9, 6, 3, 6, 7, 2, 9, 6, 3, 6, 1, 2, 3, 6, 9, 6, 5, 10, 3, 6, 9, 6, 1, 2, 3, 6, 9, 6, 5, 10, 3, 6, 9, 6, 1, 2, 3, 6, 9, 6, 7, 2, 9, 6, 3, 6, 11, 10
OFFSET
0,2
FORMULA
a(n) = A010881(A276086(n)) = A276086(n) mod 12.
PROG
(PARI) A358850(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (m%12); };
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 03 2022
STATUS
approved