Consecutive quadratic residues mod p: a(n) is the maximal number of positive reduced quadratic residues which appear consecutively for n-th prime.

A002307

Consecutive quadratic residues mod p: a(n) is the maximal number of positive reduced quadratic residues which appear consecutively for n-th prime.

Terms

    a(0) =1a(1) =1a(2) =1a(3) =2a(4) =3a(5) =2a(6) =2a(7) =4a(8) =4a(9) =4a(10) =4a(11) =4a(12) =3a(13) =5a(14) =4a(15) =3a(16) =5a(17) =5a(18) =6a(19) =6a(20) =4a(21) =6a(22) =7a(23) =4a(24) =4a(25) =7a(26) =7a(27) =6a(28) =5a(29) =5

External references