OFFSET
1,1
EXAMPLE
a(1) = 2, because c1(2) = 1 and c2(2) = 0, so abs(c1(2) - c2(2)) = 1 >= 1, and no lesser prime satisfies this.
PROG
(PARI) { r = 0; n = 1; forprime (p = 2, 1787, r += (-1)^hammingweight(p); if (n==abs(r), print1 (p", "); n++; ); ); } \\ Rémy Sigrist, Mar 01 2023
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jean-Marc Rebert, Mar 01 2023
STATUS
approved