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.

Previous Showing 11-11 of 11 results.

A331833 Numbers k such that all the divisors of k, excluding 1, have an even number of 1's in their negabinary representations.

Original entry on oeis.org

1, 2, 5, 7, 10, 13, 14, 17, 19, 25, 31, 34, 37, 49, 61, 62, 65, 67, 73, 79, 85, 97, 107, 127, 133, 155, 167, 170, 173, 179, 193, 214, 217, 223, 229, 241, 247, 254, 257, 259, 271, 277, 289, 310, 313, 325, 334, 337, 347, 359, 365, 395, 419, 425, 427, 431, 434, 443
Offset: 1

Views

Author

Amiram Eldar, Jan 28 2020

Keywords

Examples

			10 is a term since all of its divisors exclusing 1, i.e., 2, 5 and 10, or 110, 101, and 11110 in negabinary representation, have an even number of 1's.
		

Crossrefs

Subsequence of A268272.

Programs

  • Mathematica
    negaBinWt[n_] := negaBinWt[n] = If[n==0, 0, negaBinWt[Quotient[n-1, -2]] + Mod[n, 2]]; eveNegaBinQ[n_] := EvenQ[negaBinWt[n]]; seqQ[n_] := AllTrue[Rest @ Divisors[n], eveNegaBinQ]; Select[Range[401],seqQ]
Previous Showing 11-11 of 11 results.