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.

A065878 Numbers which are not an integer multiple of their number of binary 1's.

Original entry on oeis.org

3, 5, 7, 9, 11, 13, 14, 15, 17, 19, 22, 23, 25, 26, 27, 28, 29, 30, 31, 33, 35, 37, 38, 39, 41, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 54, 56, 57, 58, 59, 61, 62, 63, 65, 67, 70, 71, 73, 74, 75, 76, 77, 78, 79, 82, 83, 85, 86, 87, 88, 89, 90, 91, 93, 94, 95, 97, 98, 99, 100
Offset: 1

Views

Author

Henry Bottomley, Nov 26 2001

Keywords

Examples

			5 is in the sequence since 5 = 101_2 and 5 is not a multiple of 1 + 0 + 1 = 2.
		

Crossrefs

Complement of A049445.
The base-10 equivalent is A065877.

Programs

  • Mathematica
    Select[Range[100],!IntegerQ[#/Total[IntegerDigits[#,2]]]&]  (* Harvey P. Dale, Apr 20 2011 *)
  • PARI
    isok(k) = k % hammingweight(k); \\ Amiram Eldar, Aug 04 2025