In this study, it was investigated how domain-specific (number sense) and domain-general (working memory, creativity) factors explain the variance in mathematical abilities in primary school children. A total of 166 children aged 8 to 10 years old participated. Several tests to measure math ability, mathematical creativity, number sense, verbal and visual spatial working memory and creativity were administered. Data were analyzed with a series of correlation and regression analyses. Number sense, working memory and creativity were all found to be important predictors of academic and creative mathematical ability. Furthermore, groups with math learning disabilities (MLD) and mathematical giftedness (MG) were compared to a typically developing (TD) group. The results show that the MLD group scored lower on number line estimation and visual spatial working memory than the TD group, while the MG group differed from the TD group on visual spatial working memory and creativity. It is concluded that creativity plays a significant role in mathematics, above working memory and number sense. Research on individual differences in the development of mathematical cognition has pointed to two main underlying cognitive factors: number sense and working memory (e.g., Fuchs, Geary, Compton, Fuchs, Hamlett, & Bryant, 2010;Geary, 2010). Number sense (NS) could be seen as the domain-specific precursor of mathematics. Working memory is a domain-general predictor, not only in mathematical development but also in other academic areas. Although several other cognitive factors have been related to math, such as processing speed (e.g., Peterson et al., 2017;Willcutt et al., 2013), or phonological skills (e.g., Barnes et al., 2014;Slot, Van Viersen, De Bree, & Kroesbergen, 2016), working memory and number sense together explain a substantial part of the variance in mathematics (e.g., 48-50% in Kroesbergen & Van Dijk, 2015; 24-28% in Toll, Kroesbergen, & Van Luit, 2016). These two factors are not only related to mathematics in typically developing (TD) children, but they have also repeatedly been found to explain differences between children with mathematical learning disabilities (MLD) and TD children (e.g., Geary, Hoard, Byrd-Craven, Nugent, & Numtee, 2007;Mazzocco, Feigenson, & Halberda, 2011;Mussolin, Mejias, & Noël, 2010;Piazza et al., 2010; Raghubar, jnc.psychopen.eu | 2363-8761 Barnes, & Hecht, 2010Schuchardt, Maehler, & Hasselhorn, 2008). However, from another body of research, on mathematically gifted (MG) children, another domain-general factor appears that may influence mathematics as well: Creativity (e.g., Leikin, Koichu, & Berman, 2009;Mann, 2006;Sriraman, 2005). However, studies investigating the role of creativity in mathematics have taken neither working memory nor number sense into account. The goal of the current study is to compare the role of working memory and number sense with that of creativity in the mathematical abilities of both TD children as well as children with MLD and MG children in fourth grade....