OFFSET
0,3
COMMENTS
LINKS
EXAMPLE
For n = 42:
- the primorial base representation of 42 is "1200",
- there are five numbers m with the same multiset of digits:
m prim(m)
-- -------
34 "1020"
42 "1200"
61 "2001"
62 "2010"
66 "2100"
- so a(34) = 66,
a(42) = 62,
a(61) = 61,
a(62) = 42,
a(66) = 34.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
AUTHOR
Rémy Sigrist, Sep 02 2020
STATUS
approved