Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A162213
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A162213 a(n) = the smallest positive multiple of n with exactly n digits when written in binary. +0
2
1, 2, 6, 8, 20, 36, 70, 128, 261, 520, 1034, 2052, 4108, 8204, 16395, 32768, 65552, 131076, 262162, 524300, 1048593, 2097172, 4194326, 8388624, 16777225, 33554456, 67108878, 134217748, 268435484, 536870940, 1073741854, 2147483648 (list; graph; listen)
OFFSET

1,2

FORMULA

a(n) = n * ceiling (2^(n-1)/n). [From Alois P. Heinz (heinz(AT)hs-heilbronn.de), Jul 11 2009]

MAPLE

a := proc (n) local k: for k while nops(convert(k*n, base, 2)) <> n do end do; k*n end proc: seq(a(n), n = 1 .. 24); [From Emeric Deutsch (deutsch(AT)duke.poly.edu), Jul 10 2009]

a:= n-> n *ceil (2^(n-1)/n): seq (a(n), n=1..40); [From Alois P. Heinz (heinz(AT)hs-heilbronn.de), Jul 11 2009]

CROSSREFS

A162214

Sequence in context: A143481 A093968 A064713 this_sequence A100358 A134136 A058775

Adjacent sequences: A162210 A162211 A162212 this_sequence A162214 A162215 A162216

KEYWORD

base,nonn

AUTHOR

Leroy Quet (q1qq2qqq3qqqq(AT)yahoo.com), Jun 28 2009

EXTENSIONS

More terms from Emeric Deutsch (deutsch(AT)duke.poly.edu) and Alois P. Heinz (heinz(AT)hs-heilbronn.de), Jul 11 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 | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 24 19:42 EST 2009. Contains 167435 sequences.


AT&T Labs Research