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.

A307654 a(n) = Product_{p|n, p prime} (1 - p^p).

Original entry on oeis.org

1, -3, -26, -3, -3124, 78, -823542, -3, -26, 9372, -285311670610, 78, -302875106592252, 2470626, 81224, -3, -827240261886336764176, 78, -1978419655660313589123978, 9372, 21412092, 855935011830, -20880467999847912034355032910566, 78, -3124, 908625319776756, -26, 2470626
Offset: 1

Views

Author

Seiichi Manyama, Apr 20 2019

Keywords

Examples

			a(6) = (1 - 2^2) * (1 - 3^3) = 78.
		

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := 1 - p^p; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 28] (* Amiram Eldar, May 13 2021 *)