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.

A086368 Nonsquarefree numbers k such that sigma(k) is squarefree.

Original entry on oeis.org

4, 8, 9, 16, 18, 20, 25, 36, 45, 49, 50, 64, 72, 80, 100, 104, 116, 117, 121, 128, 144, 148, 169, 180, 196, 200, 208, 225, 234, 242, 244, 256, 261, 289, 292, 296, 320, 325, 333, 361, 369, 404, 436, 441, 450, 452, 464, 488, 512, 529, 548, 549, 576, 578, 584, 592
Offset: 1

Views

Author

Labos Elemer, Sep 05 2003

Keywords

Examples

			k = 45 = 3*3*5 and sigma(45) = 78 = 2*3*13.
		

Crossrefs

Intersection of A013929 and A065300.

Programs

  • Maple
    filter:= n -> not numtheory:-issqrfree(n) and numtheory:-issqrfree(numtheory:-sigma(n)):
    select(filter, [$1..1000]); # Robert Israel, May 11 2018
  • Mathematica
    q[k_] := ! SquareFreeQ[k] && SquareFreeQ[DivisorSigma[1, k]]; Select[Range[600], q] (* Amiram Eldar, Feb 24 2025 *)
  • PARI
    isok(k) = !issquarefree(k) && issquarefree(sigma(k)); \\ Amiram Eldar, Feb 24 2025