login
A071936
K(n+1,n) where K(x,y) is the Kronecker symbol (x/y).
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, 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,1
FORMULA
If n==2 (mod(8)) a(n)=-1 a(n)=1 otherwise
PROG
(PARI) for(n=1, 150, print1(kronecker(n+1, n), ", "))
CROSSREFS
Sequence in context: A131561 A110515 A355437 * A005088 A076142 A084904
KEYWORD
easy,sign
AUTHOR
Benoit Cloitre, Jun 14 2002
STATUS
approved