plot 150*n*log(n) and n%5E2 from 0 to 1500