Yes they are very illiterate, especially in math; of which you are an excellent example.
It is also my uneducated guess that the actual percentage of Americans who haven’t read a single book in the past year is MUCH higher than 40%. Maybe a survey of HN commentators but not of the general population.