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!)
A171987 Best explained by example: in the binary representation, start with 10000, then add 1 and push the 1 to the left: 10001, 10010, 10100, 11000, then add another one, 11001, 11010, 11100, etc: 11101, 11110, 11111. Then proceed with the next length of numbers: 100000, etc. 1
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 20, 24, 25, 26, 28, 29, 30, 31, 32, 33, 34, 36, 40, 48, 49, 50, 52, 56, 57, 58, 60, 61, 62, 63, 64 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Numbers of the form (2^k - 1)*2^l + 2^m, where k >= 0, l > m >= 0. - Ivan Neretin, Jul 26 2015

LINKS

Ivan Neretin, Table of n, a(n) for n = 1..5489

MATHEMATICA

Nest[If[EvenQ[l = #[[-1]]], Join[#, l + 2^(Range[IntegerExponent[l, 2]] - 1)], Append[#, l + 1]] &, {1}, 21] (* Ivan Neretin, Jul 26 2015 *)

CROSSREFS

Sequence in context: A231239 A328869 A004744 * A072226 A247809 A247802

Adjacent sequences:  A171984 A171985 A171986 * A171988 A171989 A171990

KEYWORD

nonn,base

AUTHOR

Stefan Maubach (s.maubach(AT)science.ru.nl), Jan 21 2010

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 March 30 16:16 EDT 2020. Contains 333127 sequences. (Running on oeis4.)