OFFSET
0,6
FORMULA
a(n) = abs(A000367(n)) (mod 3)
MATHEMATICA
Mod[Abs[Numerator[BernoulliB[2*Range[0, 120]]]], 3] (* Harvey P. Dale, Nov 16 2021 *)
PROG
(PARI) a(n)=abs(numerator(bernfrac(2*n)))%3
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Dec 13 2003
STATUS
approved