[go: up one dir, main page]

login
A088191
First differences of A088190.
9
0, 3, 0, 5, 3, 4, 1, 1, 10, 0, 8, 4, 1, 1, 10, 5, 3, 5, -1, 8, 4, 5, 7, 8, 4, 0, 5, 3, 4, 12, 5, 7, 1, 11, 0, 8, 5, 1, 10, 5, 3, 4, 8, 4, 0, 13, 11, 5, 3, 4, 0, 8, 9, 7, 2, 10, 0, 8, 4, 1, 11, 13, -5, 12, 4, 13, 7, 9, 3, 4, 0, 12, 8, 5, 1, 10, 8, 4, 8, 9, 3, 4, 8, 4, 5, 7, 8, 4, 0, 5, 1, 18, 5, 8, 1, 10, 12, 1, 19
OFFSET
1,2
COMMENTS
Seemingly the difference sequence is mostly positive. There are special characteristic features where it is nonpositive. (See A088193-A088195.)
PROG
(PARI) qrp_d(to)= {/* Difference sequence of the largest QR modulo the primes */ local(m, k=1, p, v=[]); for(i=2, to, m=1; p=prime(i); j=2; while((j<=(p-1)/2)&&(m<p-1), m=max(m, (j^2)%p); j++); v=concat(v, m-k); k=m); print(v) }
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Ferenc Adorjan (fadorjan(AT)freemail.hu), Sep 22 2003
STATUS
approved