login
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
OFFSET
1,2
COMMENTS
This is a permutation of the positive integers. Sequence A175060 is its inverse permutation.
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
KEYWORD
base,nonn
AUTHOR
Leroy Quet, Dec 08 2009
EXTENSIONS
Extended by Ray Chandler, Dec 18 2009
STATUS
approved