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.

A135110 Positive numbers such that the digital sum base 2 and the digital sum base 10 are in a ratio of 2:10.

Original entry on oeis.org

32, 69, 136, 168, 276, 389, 514, 546, 596, 640, 672, 785, 848, 1284, 1289, 1298, 1793, 1798, 1856, 1888, 2058, 2080, 2184, 2369, 2562, 2594, 2698, 2896, 3089, 3589, 4164, 4169, 4178, 4196, 4353, 4358, 4376, 4385, 4416, 4448, 4484, 4489, 4498, 4628, 4673
Offset: 1

Views

Author

Hieronymus Fischer, Dec 24 2007

Keywords

Comments

Subsequence of A227793. - Michel Marcus, Sep 23 2013

Examples

			a(1)=32, since ds_2(32):ds_10(32)=1:5=2:10.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[5000],5*Total[IntegerDigits[#,2]]==Total[ IntegerDigits[ #]]&] (* Harvey P. Dale, Sep 14 2012 *)
  • PARI
    is(n)=sumdigits(n)/hammingweight(n)==5 \\ Charles R Greathouse IV, Sep 22 2013