

A048281


Beginning of first run of consecutive quadratic residues mod prime(n) of longest length.


1



0, 0, 4, 0, 3, 12, 15, 4, 0, 4, 7, 9, 39, 13, 0, 9, 25, 12, 21, 0, 69, 18, 25, 87, 93, 19, 13, 9, 25, 49, 68, 58, 14, 34, 4, 16, 9, 53, 61, 33, 12, 11, 0, 189, 59, 61, 78, 28, 73, 42, 28, 0, 235, 63, 57, 31, 51, 77, 83, 31, 89, 53, 99, 0, 309, 36, 120, 333, 323, 121, 164, 44, 207, 36, 19, 200, 62, 33
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,3


LINKS

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


EXAMPLE

The numbers 0, 1, 4, 5, 6, 9, 10, 11, 14, . . . are the squares mod 5, and 5 = prime(3), so a(3) = 4.  Jonathan Sondow, Jul 20 2014


CROSSREFS

Cf. A048280.
Sequence in context: A048649 A200008 A086751 * A066273 A028650 A028634
Adjacent sequences: A048278 A048279 A048280 * A048282 A048283 A048284


KEYWORD

nonn


AUTHOR

David W. Wilson


EXTENSIONS

Offset corrected to 1, definition clarified, Jonathan Sondow Jul 20 2014


STATUS

approved



