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.

A128200 Numbers of divisors of semiprime powers: A000005(A085155(n)).

Original entry on oeis.org

1, 3, 4, 3, 4, 4, 4, 5, 4, 4, 3, 4, 4, 4, 4, 9, 4, 4, 4, 3, 4, 4, 4, 4, 4, 7, 4, 4, 4, 4, 5, 4, 4, 4, 4, 4, 4, 4, 4, 9, 4, 4, 4, 4, 4, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 4, 4, 4, 4, 4, 4, 9, 4, 4, 4, 4, 4, 4, 4, 4, 4, 16, 4, 4, 4, 4, 9, 4, 4, 4, 4, 4, 4, 4, 9, 4, 4, 4, 4, 4, 4, 4, 3, 4, 4, 4, 4, 4
Offset: 1

Views

Author

Reinhard Zumkeller, Mar 04 2007

Keywords

Comments

The range of this sequence is the union of squares and the odd numbers: A128201.

Crossrefs

Programs

  • Mathematica
    sppQ[n_] := With[{f = FactorInteger[n][[All, 2]]}, n == 1 || Length[f] == 1 && EvenQ[f[[1]]] || Length[f] == 2 && f[[1]] == f[[2]]];
    DivisorSigma[0, #]& /@ Select[Range[1000], sppQ] (* Jean-François Alcover, Nov 21 2020 *)

Formula

a(n) = (1+A001222(A085155(n))/A001221(A085155(n)))^A001221(A085155(n)).