cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A055946 n + reversal of base 3 digits of n (written in base 10).

This page as a plain text file.
%I A055946 #18 Aug 08 2024 06:39:29
%S A055946 0,2,4,4,8,12,8,12,16,10,20,30,16,26,36,22,32,42,20,30,40,26,36,46,32,
%T A055946 42,52,28,56,84,40,68,96,52,80,108,40,68,96,52,80,108,64,92,120,52,80,
%U A055946 108,64,92,120,76,104,132,56,84,112,68,96,124,80,108,136,68,96,124,80
%N A055946 n + reversal of base 3 digits of n (written in base 10).
%C A055946 If n has an even number of digits in base 3 then a(n) is a multiple of 4.
%H A055946 Seiichi Manyama, <a href="/A055946/b055946.txt">Table of n, a(n) for n = 0..10000</a>
%F A055946 a(n) = n + A030102(n).
%p A055946 A055946 := proc(n)
%p A055946     n+A030102(n) ;
%p A055946 end proc: # _R. J. Mathar_, May 28 2016
%t A055946 Array[#+FromDigits[Reverse[IntegerDigits[#,3]],3]&,70,0] (* _Harvey P. Dale_, Nov 09 2017 *)
%Y A055946 Cf. A030102, A056964.
%K A055946 base,nonn
%O A055946 0,2
%A A055946 _Henry Bottomley_, Jul 18 2000