login
A348194
a(n) = A077767(n) - A077766(n).
2
1, 0, 0, 1, 0, 0, -1, 2, -1, -1, 2, 1, -1, 2, 0, -1, -1, 0, 0, -1, 1, 3, 0, -1, 0, 1, -2, 1, 0, 0, 0, 1, -2, -1, 0, 1, -1, 4, 5, -2, -3, 3, -2, 1, 1, 0, -3, -1, 0, 3, -1, -2, 0, 3, -3, -2, 5, -3, 2, 0, -1, 5, -1, 0, -2, -1, 1, 3, -3, 3, 5, -5, 1, 3, -4, 4, 2, -2, -1, -3, 0, -1, 6, 1, -4, -3, 2, -4, -4, 2, 0, -1, 1, 1, -1, -1, 2, -1, 3, 1, 2, -2, 5, 1, -1
OFFSET
1,8
LINKS
FORMULA
a(n) = A348193(n+1) - A348193(n).
PROG
(PARI) a(n) = sum(k=n^2, (n+1)^2, (isprime(k)&&k%4==3)-(isprime(k)&&k%4==1));
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, Oct 06 2021
STATUS
approved