login
A372576
a(n) = A276085(n) mod 360, where A276085 is the primorial base log-function.
7
0, 1, 2, 2, 6, 3, 30, 3, 4, 7, 210, 4, 150, 31, 8, 4, 150, 5, 30, 8, 32, 211, 210, 5, 12, 151, 6, 32, 150, 9, 30, 5, 212, 151, 36, 6, 210, 31, 152, 9, 210, 33, 330, 212, 10, 211, 150, 6, 60, 13, 152, 152, 210, 7, 216, 33, 32, 151, 330, 10, 30, 31, 34, 6, 156, 213, 30, 152, 212, 37, 210, 7, 150, 211, 14, 32, 240
OFFSET
1,3
COMMENTS
Completely additive modulo 360.
On average, every third term is a multiple of 4. See A369001.
PROG
(PARI)
A002110(n) = prod(i=1, n, prime(i));
A276085(n) = { my(f = factor(n)); sum(k=1, #f~, f[k, 2]*A002110(primepi(f[k, 1])-1)); };
A372576(n) = (A276085(n)%360);
CROSSREFS
Cf. A003159 (positions of even terms), A036554 (of odd terms), A035263, A096268 (parity of terms), A369001, A369002 (positions of multiples of 4).
Sequence in context: A276075 A321908 A130728 * A276085 A334870 A324122
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 25 2024
STATUS
approved