Numbers n such that sigma(n) = (sum of digits of n)!
1, 20132, 2005210, 2007010, 2030212, 2203102, 22121210, 33200201, 220000026, 230110302, 2301403000, 2320213000, 2410132000, 3201112210, 4000014202, 400230021120, 414102021000, 430011013020, 532010011110, 10001300332030, 10010123111032, 10030302411010, 10060311020110, 10120001550010, 20002100200081, 20105032001011
OFFSET
1
COMMENTS
Numbers n
such that G2(n) = G3(G4(n)).
PROGRAMS
Sidef
var values = []
for t in (1..13) {
var n = t!
values += n.inverse_sigma.grep { .sumdigits == t }
}
say values.sort.join(", ")