A Legendre symbol type assignment of the modulo ten primes to the polynomial: Expand[(x-1)*(x+1)*(x-2)*(x+2)*(x-0)]=4 x - 5 x^3 + x^5; c(n) = If[Mod[n, 10] == 1, 1, If[Mod[n, 10] == 9, -1, If[Mod[n, 10] == 3, 2, If[Mod[n, 10] == 7, -2, 0]]]] such that n is a prime[n].

A141454

A Legendre symbol type assignment of the modulo ten primes to the polynomial: Expand[(x-1)*(x+1)*(x-2)*(x+2)*(x-0)]=4 x - 5 x^3 + x^5; c(n) = If[Mod[n, 10] == 1, 1, If[Mod[n, 10] == 9, -1, If[Mod[n, 10] == 3, 2, If[Mod[n, 10] == 7, -2, 0]]]] such that n is a prime[n].

Terms

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

External references