OFFSET
0,2
COMMENTS
This sequence is different from A055948.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..4095
MATHEMATICA
Table[FromDigits[Reverse[#], 4] + FromDigits[#, 4] & [Sort[IntegerDigits[n, 4]]], {n, 0, 100}] (* Paolo Xausa, Aug 07 2024 *)
PROG
(PARI) a(n) = my(nd=digits(n, 4)); fromdigits(vecsort(nd), 4) + fromdigits(vecsort(nd, , 4), 4); \\ Michel Marcus, Sep 28 2018
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Seiichi Manyama, Sep 28 2018
STATUS
approved