Formaldehyde has the formula CH2O, and the ratio of atoms in a simple carb is 1C:2H:1O. This fits the formula of formaldehyde. When I researched this, I found some sources saying that formaldehyde is the simplest carb, but other sources saying it is glycolaldehyde (C2H4O2). Is formaldehyde a carbohydrate?
According to iupac definition
But accoriding to wikibooks
Because formaldehyde and Glycolaldehyde(not a true sugar) has one and two carbon respectively in its strutures we can exclude both as a carbohydrate