"The Rags" is number 179 in the Hans Christian Andersen Center's register of Andersen's literary works, i.e. no. 179 in the category fairy tale (the range 1 - 300). BFN 981.
"The Rags" was first published December 1868, cf. the bibliographic description (in Danish) in : Digterens danske Værker 1822-1875, number in bibliography: 981:
Laserne. Et Eventyr.
[Fodnote]: Skrevet for flere Aar siden i Silkeborg.
Trykt i Folkekalender for Danmark. 1869. 18. Aargang 90-91. (Udkom December 1868). (Saml. Skr. XV, 147).
(Bibliografisk kilde: HCAH 1971/420)
Show this work in its context: all new Andersen publications from 1868.
The work was published later (20 December 1874) as a part of Eventyr og Historier. Femte Bind. 1874 [Danish title]. (Number 337. BFN 1039. Category/genre: Fairy tale collection).
The Hans Christian Andersen library (bibliographies):