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”).

a(n) = A319722(n) + A319653(n).
7

%I #20 Aug 07 2024 15:46:32

%S 0,2,4,6,8,6,12,18,24,30,12,18,24,30,36,18,24,30,36,42,24,30,36,42,48,

%T 26,36,62,88,114,36,62,88,114,140,62,88,98,124,150,88,114,124,134,160,

%U 114,140,150,160,170,52,62,72,98,124,62,88,98,124,150,72,98,124,150,176

%N a(n) = A319722(n) + A319653(n).

%C This sequence is different from A055950.

%H Seiichi Manyama, <a href="/A319805/b319805.txt">Table of n, a(n) for n = 0..3124</a>

%p a:= n-> (l-> add((l[i]+l[-i])*5^(i-1), i=1..nops(l)))(sort(convert(n, base, 5))):

%p seq(a(n), n=0..64); # _Alois P. Heinz_, Aug 07 2024

%t Table[FromDigits[Reverse[#], 5] + FromDigits[#, 5] & [Sort[IntegerDigits[n, 5]]], {n, 0, 100}] (* _Paolo Xausa_, Aug 07 2024 *)

%o (PARI) a(n) = my(nd=digits(n, 5)); fromdigits(vecsort(nd), 5) + fromdigits(vecsort(nd,,4), 5); \\ _Michel Marcus_, Sep 28 2018

%Y Base b: A319785 (b=2), A319803 (b=3), A319804 (b=4), this sequence (b=5), A319806 (b=6), A319807 (b=7), A319808 (b=8), A319747 (b=9), A052008 (b=10).

%Y Cf. A055950, A319653, A319722.

%K nonn,look,base

%O 0,2

%A _Seiichi Manyama_, Sep 28 2018