cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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).

Original entry on oeis.org

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

Views

Author

Patrick De Geest, Apr 15 1998

Keywords

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.
		

Crossrefs

Programs

  • Mathematica
    Array[Floor[FromDigits[IntegerDigits[#, 2]]/#] &, 48] (* Michael De Vlieger, Oct 06 2019 *)

Formula

a(n) = floor(A007088(n)/n).