login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A088194 Members of the difference sequence (A088191) of the sequence of largest quadratic residues modulo the primes (A088190), where the latter is non-monotonic. 6
0, 0, 0, -1, 0, 0, 0, 0, 0, -5, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, -10, -1, 0, 0, 0, 0, 0, 0, -7, 0, -4, 0, -1, 0, -5, 0, 0, 0, 0, 0, -7, 0, -4, 0, 0, 0, 0, 0, -4, 0, 0, -2, 0, -1, 0, -5, 0, 0, 0, 0, -8, 0, 0, 0, 0, -4, -11, 0, 0, 0, -1, 0, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2, -5, 0, 0, 0, 0, -5, 0, 0, -5, 0, 0, 0, -1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,10

COMMENTS

The negative values are either primes or composites (Cf. A088200).

LINKS

Table of n, a(n) for n=1..99.

PROG

(PARI) qrp_d_nm(to)= {/* The difference sequence values where the sequence of the largest QR modulo the primes is non-monotonic */ 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++); if((m-k)<=0, v=concat(v, m-k)); k=m); print(v) }

CROSSREFS

Cf. A088190, A088191, A088192, A088193, A088195.

Sequence in context: A281462 A236239 A047752 * A048894 A047766 A324323

Adjacent sequences:  A088191 A088192 A088193 * A088195 A088196 A088197

KEYWORD

easy,sign

AUTHOR

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

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 3 17:21 EDT 2020. Contains 336200 sequences. (Running on oeis4.)