Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A162537
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A162537 a(n) = the smallest positive multiple of n where every length of the runs of 0's and 1's in the binary representation of a(n) is coprime to n. +0
3
1, 2, 3, 8, 5, 42, 7, 8, 9, 10, 11 (list; graph; listen)
OFFSET

1,2

COMMENT

By "run" of 0's or 1's, it is meant: Think of binary n as a string of 0's and 1's. A single run of the digit b (0 or 1) is made up completely of consecutive digits all equal to b, and is bounded on its ends by either the digit 1-b or by the edge of the string.

EXAMPLE

For n = 4, we check. 4 in binary is 100, which has a run of two 0's; and 2 is not coprime to 4. But 2*4 = 8 = 1000 in binary has a run of one 1 and a run of three 0's. Since both 1 and 3 are coprime to 4, then a(4) = 8.

CROSSREFS

A162535, A162536

Sequence in context: A091136 A140651 A007955 this_sequence A109844 A128779 A112283

Adjacent sequences: A162534 A162535 A162536 this_sequence A162538 A162539 A162540

KEYWORD

base,more,nonn

AUTHOR

Leroy Quet (q1qq2qqq3qqqq(AT)yahoo.com), Jul 05 2009

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 | The OEIS Foundation | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified March 20 09:10 EDT 2010. Contains 173642 sequences.


AT&T Labs Research