OFFSET
0,3
COMMENTS
LINKS
FORMULA
a(n!) = n! for any n >= 0.
EXAMPLE
For n = 42:
- the factorial base expansion of 42 is "1300",
- there are four numbers m with the same multiset of digits:
m fact(m)
-- -------
42 "1300"
73 "3001"
74 "3010"
78 "3100"
- so a(42) = 78,
a(73) = 74,
a(74) = 73,
a(78) = 42.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
AUTHOR
Rémy Sigrist, Sep 02 2020
STATUS
approved