Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A062130
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A062130 A062128 written in base 10. +0
8
0, 1, 3, 3, 5, 5, 9, 7, 9, 9, 15, 27, 15, 27, 21, 15, 17, 17, 27, 99, 99, 21, -1, 63, 27, 99, -1, 27, -1, 63, 45, 31, 33, 33, 51, -1, 45, -1, 63, 99, 45, -1, 63, 99, 99, 45, -1, -1, 51, -1, 255, 51, 63, 99, 255, 153, 63, 99, 255, 153, -1, -1, 93, 63, 65, 65, 99, -1, 85, 255, 119, 387, 255, 73, 13299, -1, 387, -1, -1, 219, 85 (list; graph; listen)
OFFSET

0,3

LINKS

Index entries for sequences related to Reverse and Add!

Klaus Brockhaus, On the'Reverse and Add!' algorithm in base 2

EXAMPLE

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

PROGRAM

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

CROSSREFS

A033865, A062128, A062131, A061561.

Sequence in context: A063281 A117772 A026924 this_sequence A134361 A049644 A147472

Adjacent sequences: A062127 A062128 A062129 this_sequence A062131 A062132 A062133

KEYWORD

base,easy,sign

AUTHOR

Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Jun 06 2001

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 4 15:11 EST 2009. Contains 170347 sequences.


AT&T Labs Research