

A175059


a(n) = decimal equivalent of {A144795(n) written in binary, and each run of 1's reduced in length by one digit}.


6



1, 2, 3, 4, 6, 7, 8, 5, 12, 14, 15, 16, 9, 10, 11, 24, 13, 28, 30, 31, 32, 17, 18, 19, 20, 22, 23, 48, 25, 26, 27, 56, 29, 60, 62, 63, 64, 33, 34, 35, 36, 38, 39, 40, 21, 44, 46, 47, 96, 49, 50, 51, 52, 54, 55, 112, 57, 58, 59, 120, 61, 124, 126, 127, 128, 65, 66, 67, 68, 70
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


COMMENTS

This is a permutation of the positive integers. Sequence A175060 is its inverse permutation.


LINKS

Michael De Vlieger, Table of n, a(n) for n = 1..10000


MATHEMATICA

Map[FromDigits[#, 2] &@ Flatten@ # &, Select[Array[Split@ IntegerDigits[#, 2] &, 400], FreeQ[#, {1}] &] /. w_List /; First@ w == 1 :> Most@ w] (* Michael De Vlieger, Sep 03 2017 *)


CROSSREFS

Cf. A144795, A175055, A175056, A175057, A175058, A175060.
Sequence in context: A089884 A172312 A086163 * A071789 A131870 A004724
Adjacent sequences: A175056 A175057 A175058 * A175060 A175061 A175062


KEYWORD

base,nonn


AUTHOR

Leroy Quet, Dec 08 2009


EXTENSIONS

Extended by Ray Chandler, Dec 18 2009


STATUS

approved



