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
KEYWORD
sign
AUTHOR
Hamdi Murat Yildirim, Jun 29 2014
STATUS
approved