A032532 Integer part of decimal 'base-2 looking' numbers divided by their actual base-2 values (denominator of a(n) is n, numerator is n written in binary but read in decimal).
1, 5, 3, 25, 20, 18, 15, 125, 111, 101, 91, 91, 84, 79, 74, 625, 588, 556, 526, 505, 481, 459, 439, 458, 440, 423, 407, 396, 382, 370, 358, 3125, 3030, 2941, 2857, 2780, 2705, 2634, 2566, 2525, 2463, 2405, 2349, 2297, 2246, 2198, 2151, 2291
Offset: 1
Examples
1_2 / 1_10 = 1/1 = 1; 10_2 / 2_10 = 10/2 = 5; 11_2 / 3_10 = 11/3 = 3.666666666...; 100_2 / 4_10 = 100/4 = 25; 101_2 / 5_10 = 101/5 = 20.2.
Links
- Michael De Vlieger, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
Array[Floor[FromDigits[IntegerDigits[#, 2]]/#] &, 48] (* Michael De Vlieger, Oct 06 2019 *)
Formula
a(n) = floor(A007088(n)/n).