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

 

Logo

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 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062131 A062129 written in base 10. 3
0, 3, 3, 9, 5, 15, 9, 21, 9, 27, 15, 27, 15, 27, 21, 45, 17, 51, 27, 99, 99, 63, -1, 63, 27, 99, -1, 255, -1, 63, 45, 93, 33, 99, 51, -1, 45, -1, 63, 99, 45, -1, 63, 99, 99, -1, -1, -1, 51, -1, 255, 153, 63, 99, 255, 153, 63, 99, 255, 153, -1, -1, 93, 189, 65, 195, 99, -1, 85, 255, 119, 387, 255, 219, 13299, -1, 387, -1, -1, 219 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Differs from A062130 only for those n, which are palindromes in base 2.

LINKS

Table of n, a(n) for n=0..79.

EXAMPLE

23 -> 23 + 29 = 52 -> 52 + 11 = 63, so a(23) = 63.

PROG

(ARIBAS): stop := 500; for k := 0 to 80 do c := 0; m := k; test := true; while test and c < stop do inc(c); m := m + bit_reverse(m); test := m <> bit_reverse(m); end; if c < stop then write(m); else write(-1); end; write(" "); end; .

CROSSREFS

Cf. A061563, A062129, A062130, A061561.

Sequence in context: A300782 A104195 A294178 * A199663 A124871 A197414

Adjacent sequences: A062128 A062129 A062130 * A062132 A062133 A062134

KEYWORD

base,easy,sign

AUTHOR

Klaus Brockhaus, Jun 06 2001

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 December 3 03:47 EST 2022. Contains 358511 sequences. (Running on oeis4.)