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.

Showing 1-2 of 2 results.

A357374 Number of ordered factorizations of n into numbers > 1 with an even number of prime divisors (prime factors counted with multiplicity).

Original entry on oeis.org

1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 2, 0, 0, 0, 0, 1, 1, 0, 3, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 4, 0, 1, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 3, 1, 3, 1, 1, 0, 5, 0, 1, 0, 4, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 2, 1, 0, 5, 1, 1, 1, 3, 0, 5
Offset: 1

Views

Author

Ilya Gutkovskiy, Sep 25 2022

Keywords

Crossrefs

Programs

  • Mathematica
    A065043[n_] := Boole[EvenQ[PrimeOmega[n]]]; a[1] = 1; a[n_] := a[n] = Sum[If[d < n, A065043[n/d] a[d], 0], {d, Divisors[n]}]; Table[a[n], {n, 1, 90}]

Formula

a(1) = 1; a(n) = Sum_{d|n, d < n} A065043(n/d) * a(d).

A357375 Number of ordered factorizations of n into numbers > 1 with an even number of distinct prime divisors.

Original entry on oeis.org

1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 1, 2, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 2, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 3, 0, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 2, 1, 1, 1, 1, 0, 2
Offset: 1

Views

Author

Ilya Gutkovskiy, Sep 25 2022

Keywords

Crossrefs

Programs

  • Mathematica
    f[n_] := Boole[EvenQ[PrimeNu[n]]]; a[1] = 1; a[n_] := a[n] = Sum[If[d < n, f[n/d] a[d], 0], {d, Divisors[n]}]; Table[a[n], {n, 1, 90}]
Showing 1-2 of 2 results.