a(n) = the least k >= 1 for which the Jacobi symbol J(k,2n+1) is not +1 (thus is either 0 or -1).
A112046
a(n) = the least k >= 1 for which the Jacobi symbol J(k,2n+1) is not +1 (thus is either 0 or -1).
Terms
- a(0) =2a(1) =2a(2) =3a(3) =3a(4) =2a(5) =2a(6) =3a(7) =3a(8) =2a(9) =2a(10) =5a(11) =5a(12) =2a(13) =2a(14) =3a(15) =3a(16) =2a(17) =2a(18) =3a(19) =3a(20) =2a(21) =2a(22) =5a(23) =7a(24) =2a(25) =2a(26) =3a(27) =3a(28) =2a(29) =2
External references
- oeis: A112046