Number of permutations p of {1,2,...,n} such that p(x) is a polynomial in x, modulo n, of degree at most 2, for x=1,2,3,...,n.
A135616
Number of permutations p of {1,2,...,n} such that p(x) is a polynomial in x, modulo n, of degree at most 2, for x=1,2,3,...,n.
Terms
- a(0) =1a(1) =2a(2) =6a(3) =8a(4) =20a(5) =12a(6) =42a(7) =64a(8) =162a(9) =40a(10) =110a(11) =48a(12) =156a(13) =84a(14) =120a(15) =512a(16) =272a(17) =324a(18) =342a(19) =160a(20) =252a(21) =220a(22) =506a(23) =384a(24) =2500a(25) =312a(26) =4374a(27) =336a(28) =812a(29) =240
External references
- oeis: A135616