login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A373383
a(n) = 1 if n and A059975(n) are both multiples of 3, otherwise 0, where A059975 is fully additive with a(p) = p-1.
3
0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0
OFFSET
1
COMMENTS
Question: What is the asymptotic mean of this sequence?
FORMULA
a(n) = [A373368(n) == 0 (mod 3)], where [ ] is the Iverson bracket.
PROG
(PARI)
A059975(n) = {my(f = factor(n)); sum(i = 1, #f~, f[i, 2]*(f[i, 1] - 1)); };
A373383(n) = !(gcd(n, A059975(n))%3);
CROSSREFS
Characteristic function of A373384.
Sequence in context: A378537 A379475 A302049 * A078926 A324824 A025458
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 06 2024
STATUS
approved