OFFSET
0,2
COMMENTS
This sequence is different from A055950.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..3124
MAPLE
a:= n-> (l-> add((l[i]+l[-i])*5^(i-1), i=1..nops(l)))(sort(convert(n, base, 5))):
seq(a(n), n=0..64); # Alois P. Heinz, Aug 07 2024
MATHEMATICA
Table[FromDigits[Reverse[#], 5] + FromDigits[#, 5] & [Sort[IntegerDigits[n, 5]]], {n, 0, 100}] (* Paolo Xausa, Aug 07 2024 *)
PROG
(PARI) a(n) = my(nd=digits(n, 5)); fromdigits(vecsort(nd), 5) + fromdigits(vecsort(nd, , 4), 5); \\ Michel Marcus, Sep 28 2018
CROSSREFS
KEYWORD
AUTHOR
Seiichi Manyama, Sep 28 2018
STATUS
approved