|
|
A321863
|
|
a(n) = A321858(prime(n)).
|
|
14
|
|
|
0, 0, 1, 2, 1, 0, 1, 2, 1, 2, 3, 2, 3, 4, 3, 4, 3, 2, 3, 2, 1, 2, 1, 2, 1, 2, 3, 2, 1, 2, 3, 2, 3, 4, 5, 6, 5, 6, 5, 6, 5, 4, 3, 2, 3, 4, 5, 6, 5, 4, 5, 4, 3, 2, 3, 2, 3, 4, 3, 4, 5, 6, 7, 6, 5, 6, 7, 6, 5, 4, 5, 4, 5, 4, 5, 4, 5, 4, 5, 4, 3, 2, 1, 0, 1, 0, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,4
|
|
COMMENTS
|
Among the first 10000 terms there are only 291 negative ones, with the earliest one being a(6181) = -1. See the comments about "Chebyshev's bias" in A321858.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = -Sum_{primes p<=n} Kronecker(12,prime(i)) = -Sum_{i=1..n} A110161(prime(i)).
|
|
EXAMPLE
|
prime(25) = 97, Pi(12,1)(97) = 5, Pi(12,5)(97) = Pi(12,7)(97) = Pi(12,11)(97) = 6, so a(25) = 6 + 6 - 5 - 6 = 1.
|
|
PROG
|
(PARI) a(n) = -sum(i=1, n, kronecker(12, prime(i)))
|
|
CROSSREFS
|
Let d be a fundamental discriminant.
|
|
KEYWORD
|
sign
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|