OFFSET
0,12
COMMENTS
a(n) = 0 iff n is in the set {0, 1, 2, 3, 4, 5, 6, 8, 10, 14};
a(n) = 1 iff n is in A250220.
MATHEMATICA
b[n_] := Numerator[BernoulliB[2 n]/(2 n)];
c[n_] := Numerator[SeriesCoefficient[Log[Tan[x]+1/Cos[x]], {x, 0, 2n+1}]];
a[0] = 0; a[n_] := PrimeNu[If[EvenQ[n], Abs[b[n/2]], c[(n-1)/2]]];
Table[a[n], {n, 0, 78}] (* Jean-François Alcover, Jul 04 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric Chen, Dec 28 2014
EXTENSIONS
More terms from Jean-François Alcover, Jul 04 2019
More terms from Jinyuan Wang, Apr 02 2020
STATUS
approved