Dividing by 1023 or 1024? The final verdict on analogRead

How the cutoffs are defined...
http://forum.arduino.cc/index.php?topic=537413.msg3670319#msg3670319

How the cutoffs are applied...
http://forum.arduino.cc/index.php?topic=537413.msg3668726#msg3668726