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.

A046679 Numbers k such that the number of divisors of k and sum of squares of divisors of k are relatively prime.

Original entry on oeis.org

1, 2, 8, 9, 16, 18, 64, 72, 81, 128, 144, 625, 729, 1024, 1152, 1296, 1458, 2401, 4096, 5184, 5625, 5832, 6561, 8192, 9216, 10000, 11664, 13122, 15625, 21609, 28561, 31250, 32768, 38416, 40000, 46656, 50625, 52488, 59049, 65536, 83521, 90000
Offset: 1

Views

Author

Keywords

Comments

It can be shown that this is a subsequence of A028982.

Crossrefs

Programs

  • Mathematica
    Select[Range[91000],CoprimeQ[DivisorSigma[0,#], DivisorSigma[2,#]]&] (* Harvey P. Dale, May 11 2011 *)
  • PARI
    isok(n) = gcd(sigma(n, 2), numdiv(n)) == 1; \\ Michel Marcus, Sep 24 2019

Extensions

a(1)=1 added by Amiram Eldar, Sep 24 2019