a(n) is the number of solutions to gcd(a^2 + b^2, p) = 1 where p is the n-th prime and 0 <= a,b <= p-1.
A360323
a(n) is the number of solutions to gcd(a^2 + b^2, p) = 1 where p is the n-th prime and 0 <= a,b <= p-1.
Terms
- a(0) =2a(1) =8a(2) =16a(3) =48a(4) =120a(5) =144a(6) =256a(7) =360a(8) =528a(9) =784a(10) =960a(11) =1296a(12) =1600a(13) =1848a(14) =2208a(15) =2704a(16) =3480a(17) =3600a(18) =4488a(19) =5040a(20) =5184a(21) =6240a(22) =6888a(23) =7744a(24) =9216a(25) =10000a(26) =10608a(27) =11448a(28) =11664a(29) =12544
External references
- oeis: A360323