Problem

Source: St Petersburg Olympiad 2012, Grade 9, P1

Tags: algebra, number theory



Find all integer $b$ such that $[x^2]-2012x+b=0$ has odd number of roots.