login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A055946 n + reversal of base 3 digits of n (written in base 10). 3
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, 42, 52, 28, 56, 84, 40, 68, 96, 52, 80, 108, 40, 68, 96, 52, 80, 108, 64, 92, 120, 52, 80, 108, 64, 92, 120, 76, 104, 132, 56, 84, 112, 68, 96, 124, 80, 108, 136, 68, 96, 124, 80 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
If n has an even number of digits in base 3 then a(n) is a multiple of 4
LINKS
FORMULA
a(n) =n+A030102(n)
MAPLE
A055946 := proc(n)
n+A030102(n) ;
end proc: # R. J. Mathar, May 28 2016
MATHEMATICA
Array[#+FromDigits[Reverse[IntegerDigits[#, 3]], 3]&, 70, 0] (* Harvey P. Dale, Nov 09 2017 *)
CROSSREFS
Cf. A056964.
Sequence in context: A027131 A338986 A319803 * A130124 A265417 A076342
KEYWORD
base,nonn
AUTHOR
Henry Bottomley, Jul 18 2000
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)