A048281 Beginning of first run of consecutive quadratic residues mod prime(n) of longest length.
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
Offset: 1
Keywords
Examples
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.
Extensions
Offset corrected to 1, definition clarified, Jonathan Sondow Jul 20 2014