login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A319804
a(n) = A319720(n) + A319652(n).
7
0, 2, 4, 6, 5, 10, 15, 20, 10, 15, 20, 25, 15, 20, 25, 30, 17, 25, 42, 59, 25, 42, 59, 76, 42, 59, 67, 84, 59, 76, 84, 92, 34, 42, 50, 67, 42, 59, 67, 84, 50, 67, 84, 101, 67, 84, 101, 109, 51, 59, 67, 75, 59, 76, 84, 92, 67, 84, 101, 109, 75, 92, 109, 126, 65, 85, 150, 215
OFFSET
0,2
COMMENTS
This sequence is different from A055948.
LINKS
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
Base b: A319785 (b=2), A319803 (b=3), this sequence (b=4), A319805 (b=5), A319806 (b=6), A319807 (b=7), A319808 (b=8), A319747 (b=9), A052008 (b=10).
Sequence in context: A376548 A365059 A083718 * A055948 A071083 A141765
KEYWORD
nonn,base
AUTHOR
Seiichi Manyama, Sep 28 2018
STATUS
approved