OFFSET
1,1
COMMENTS
The sequence of k's begins {1, 1, -1, -1, 1, -3, 3, -1, -3, 3, 1, -3, 3, -1, ...}. I conjecture that the partial sums of the k's sequence change sign infinitely often and that their absolute value is less than the square root of n.
PROG
(PARI) forprime(n = 3, 300, forstep(j = 1, 999, 2, a = (n + j)/2; b =(n - j)/2; if(isprime(a), print1(a", "); break); if(isprime(b), print1(b", "); break)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Dimitris Valianatos, May 24 2020
STATUS
approved