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.

A152674 Number of divisors of the numbers that are not squares.

Original entry on oeis.org

2, 2, 2, 4, 2, 4, 4, 2, 6, 2, 4, 4, 2, 6, 2, 6, 4, 4, 2, 8, 4, 4, 6, 2, 8, 2, 6, 4, 4, 4, 2, 4, 4, 8, 2, 8, 2, 6, 6, 4, 2, 10, 6, 4, 6, 2, 8, 4, 8, 4, 4, 2, 12, 2, 4, 6, 4, 8, 2, 6, 4, 8, 2, 12, 2, 4, 6, 6, 4, 8, 2, 10, 4, 2, 12, 4, 4, 4, 8, 2, 12, 4, 6, 4, 4, 4, 12, 2, 6, 6, 2, 8, 2, 8
Offset: 1

Views

Author

Omar E. Pol, Dec 10 2008

Keywords

Comments

Even members of A000005.

Crossrefs

Programs

  • Mathematica
    Select[DivisorSigma[0, Range[100]], EvenQ] (* Amiram Eldar, Dec 02 2023 *)
  • PARI
    lista(kmax) = for(k = 1, kmax, if(!issquare(k), print1(numdiv(k), ", "))); \\ Amiram Eldar, Dec 02 2023

Formula

a(n) = A000005(A000037(n)).
a(n) = 2*A095686(n). - Amiram Eldar, Dec 02 2023