login
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