login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A055944 n + reversal of base 2 digits of n (written in base 10). 12
0, 2, 3, 6, 5, 10, 9, 14, 9, 18, 15, 24, 15, 24, 21, 30, 17, 34, 27, 44, 25, 42, 35, 52, 27, 44, 37, 54, 35, 52, 45, 62, 33, 66, 51, 84, 45, 78, 63, 96, 45, 78, 63, 96, 57, 90, 75, 108, 51, 84, 69, 102, 63, 96, 81, 114, 63, 96, 81, 114, 75, 108, 93, 126, 65, 130, 99, 164, 85 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

If n has an even number of digits in base 2 then a(n) is a multiple of 3.

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 0..10000

FORMULA

a(n) =n+A030101(n)

MATHEMATICA

f[n_] := Block[{id = IntegerDigits[n, 2]}, FromDigits[id + Reverse@id, 2]]; Array[f, 69, 0] (* Robert G. Wilson v, Nov 07 2010 *)

PROG

(Haskell)

a055944 n = n + a030101 n  -- Reinhard Zumkeller, Nov 14 2011

CROSSREFS

Cf. A035522 (iterated), A055948.

Sequence in context: A196330 A332462 A256662 * A331633 A073740 A239956

Adjacent sequences:  A055941 A055942 A055943 * A055945 A055946 A055947

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 09:09 EDT 2020. Contains 337264 sequences. (Running on oeis4.)