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.

A046871 Numbers k such that sigma_2(k) divides sigma_4(k).

Original entry on oeis.org

1, 4, 9, 16, 20, 25, 36, 48, 49, 64, 81, 100, 121, 144, 162, 169, 180, 196, 225, 245, 256, 289, 324, 361, 400, 432, 441, 484, 500, 529, 576, 605, 625, 648, 676, 729, 784, 841, 900, 931, 961, 980, 1024, 1089, 1156, 1200, 1225, 1280, 1296, 1369, 1444, 1521
Offset: 1

Views

Author

Keywords

Comments

sigma_2(k) is the sum of the squares of the divisors of k (A001157).
sigma_4(k) is the sum of the 4th powers of the divisors of k (A001159).

Examples

			k = a(8) = 48 of which divisor power sums for powers 0, 1, 2, 3, 4 are 10, 124, 3410, 131068, 5732210, respectively. Here sigma_2(k) = 3410 and sigma_4(k) = 3410*1681.
		

Crossrefs

Programs

  • Magma
    [n: n in [1..1600] | IsZero(DivisorSigma(4,n) mod DivisorSigma(2,n))]; // Bruno Berselli, Apr 10 2013
    
  • Mathematica
    Select[Range@ 1600, Divisible[DivisorSigma[4, #], DivisorSigma[2, #]] &] (* Michael De Vlieger, May 20 2017 *)
  • PARI
    isok(n) = !(sigma(n, 4) % sigma(n, 2)); \\ Michel Marcus, May 21 2017