

A175057


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


6



1, 3, 2, 7, 4, 5, 6, 15, 8, 9, 11, 12, 13, 14, 31, 16, 17, 19, 10, 23, 24, 25, 27, 28, 29, 30, 63, 32, 33, 35, 18, 39, 20, 21, 22, 47, 48, 49, 51, 26, 55, 56, 57, 59, 60, 61, 62, 127, 64, 65, 67, 34, 71, 36, 37, 38, 79, 40, 41, 43, 44, 45, 46, 95, 96, 97, 99, 50, 103, 52, 53, 54
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


COMMENTS

This is a permutation of the positive integers. Sequence A175058 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] &, 216], FreeQ[#, {0}] &] /. w_List /; First@ w == 0 :> Most@ w] (* Michael De Vlieger, Sep 03 2017 *)


CROSSREFS

Cf. A175054, A175058, A175055, A175056, A175059, A175060
Sequence in context: A135542 A130109 A153151 * A153154 A154438 A194071
Adjacent sequences: A175054 A175055 A175056 * A175058 A175059 A175060


KEYWORD

base,nonn


AUTHOR

Leroy Quet, Dec 08 2009


EXTENSIONS

Extended by Ray Chandler, Dec 18 2009


STATUS

approved



