login
First differences of A088190.
9

%I #3 Dec 08 2015 23:59:19

%S 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,

%T 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,

%U -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

%N First differences of A088190.

%C Seemingly the difference sequence is mostly positive. There are special characteristic features where it is nonpositive. (See A088193-A088195.)

%o (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) }

%Y Cf. A088190, A088192, A088193, A088194, A088195.

%K easy,sign

%O 1,2

%A Ferenc Adorjan (fadorjan(AT)freemail.hu), Sep 22 2003