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.

A175548 Binary weight of sigma(n).

Original entry on oeis.org

1, 2, 1, 3, 2, 2, 1, 4, 3, 2, 2, 3, 3, 2, 2, 5, 2, 4, 2, 3, 1, 2, 2, 4, 5, 3, 2, 3, 4, 2, 1, 6, 2, 4, 2, 5, 3, 4, 3, 4, 3, 2, 3, 3, 4, 2, 2, 5, 4, 5, 2, 3, 4, 4, 2, 4, 2, 4, 4, 3, 5, 2, 3, 7, 3, 2, 2, 6, 2, 2, 2, 4, 3, 4, 5, 3, 2, 3, 2, 5, 5, 6, 3, 3, 4, 2, 4, 4, 4, 5, 3, 3, 1, 2, 4, 6, 3, 5, 4, 5, 4, 4, 3, 4, 2
Offset: 1

Views

Author

Vladimir Shevelev, Dec 03 2010

Keywords

Comments

The sequence is considered in connection with A175522, A175524, A175526.
a(n)=1 if n is in A046528. - Robert Israel, Nov 07 2017

Examples

			a(4) = 3 because the divisors of 4 add up to 7, a number which in binary is written as 3 ones.
		

Crossrefs

Programs

  • Maple
    seq(convert(convert(numtheory:-sigma(n),base,2),`+`),n=1..100); # Robert Israel, Nov 07 2017
  • Mathematica
    Table[Plus@@IntegerDigits[DivisorSigma[1, n], 2], {n, 80}] (* Alonso del Arte, Dec 03 2010 *)
  • PARI
    a(n) = hammingweight(sigma(n)); \\ Michel Marcus, Feb 08 2016

Formula

a(n) = A000120(A000203(n)).

Extensions

More terms from Antti Karttunen, Nov 07 2017