login
A244513
Legendre symbol (prime(n), prime(n+1)).
1
-1, -1, -1, -1, -1, 1, 1, -1, 1, -1, -1, 1, 1, -1, 1, 1, -1, -1, -1, 1, 1, -1, -1, 1, 1, -1, -1, -1, 1, 1, -1, -1, 1, -1, -1, -1, -1, -1, 1, 1, -1, -1, 1, 1, -1, 1, 1, -1, -1, 1, -1, 1, 1, -1, -1, 1, -1, -1, 1, 1, 1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, -1, -1, -1, -1, 1, -1, 1, 1
OFFSET
1
LINKS
Hamdi Murat Yildirim, Table of n, a(n) for n = 1..1000
PROG
(Sage)
for i in range(1, 10000):
print(legendre_symbol(nth_prime(i), nth_prime(i+1)), ", ")
(PARI) a(n) = kronecker(prime(n), prime(n+1)); \\ Michel Marcus, Jun 29 2014
CROSSREFS
Sequence in context: A010555 A108784 A127252 * A376149 A020985 A034947
KEYWORD
sign
AUTHOR
STATUS
approved