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.

A104354 Euler's totient of A104350(n).

Original entry on oeis.org

1, 1, 2, 4, 16, 48, 288, 576, 1728, 8640, 86400, 259200, 3110400, 21772800, 108864000, 217728000, 3483648000, 10450944000, 188116992000, 940584960000, 6584094720000, 72425041920000, 1593350922240000, 4780052766720000, 23900263833600000, 310703429836800000
Offset: 1

Views

Author

Reinhard Zumkeller, Mar 06 2005

Keywords

Crossrefs

Programs

  • Mathematica
    EulerPhi[FoldList[Times, Array[FactorInteger[#][[-1, 1]] &, 30]]] (* Amiram Eldar, Apr 08 2024 *)
  • PARI
    gpf(n) = my(f=factor(n)[, 1]); f[#f];
    a(n) = eulerphi(prod(i=2, n, gpf(i))); \\ Michel Marcus, Nov 12 2023

Formula

a(n) = A000010(A104350(n)).

Extensions

a(1) prepended by Michel Marcus, Nov 12 2023