OFFSET
1,3
COMMENTS
The negative values are either primes or composites (Cf. A088200).
LINKS
PROG
(PARI) {/* The difference sequence values where the sequence of the largest "mixed" QR modulo the primes is non-monotonic */ lqxr_nm_d(to)=local(v=[], k, r, q, p, e=1, n=0, i=1); while(n<to, i+=1; p=prime(i); k=p-1; r=p%4-2; while(kronecker(k, p)<>r, k-=1); if(k-e<=0, v=concat(v, k-e); n+=1); e=k); print(i); print(v) }
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Ferenc Adorjan (fadorjan(AT)freemail.hu)
STATUS
approved