Legendre symbol, law of quadratic reciprocity ,the function [x]