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.

A086420 Euler's totient of 3-smooth numbers: a(n) = A000010(A003586(n)).

Original entry on oeis.org

1, 1, 2, 2, 2, 4, 6, 4, 8, 6, 8, 18, 16, 12, 16, 18, 32, 24, 54, 32, 36, 64, 48, 54, 64, 72, 162, 128, 96, 108, 128, 144, 162, 256, 192, 216, 486, 256, 288, 324, 512, 384, 432, 486, 512, 576, 648, 1024, 1458, 768, 864, 972, 1024, 1152, 1296, 2048, 1458, 1536
Offset: 1

Views

Author

Reinhard Zumkeller, Jul 18 2003

Keywords

Comments

a(n) is 3-smooth.

Crossrefs

Programs

  • Mathematica
    s = {}; m = 12; Do[n = 3^k; While[n <= 3^m, AppendTo[s, n]; n*=2], {k, 0, m}]; EulerPhi /@ Union[s] (* Amiram Eldar, Jan 29 2020 *)

Formula

n>1: a(n) = A003586(n) * (if A003586(n) mod 3 > 0 then 1/2 else (1 + A003586(n) mod 2)/3), a(1) = 1.
Sum_{n>=1} 1/a(n) = 21/4. - Amiram Eldar, Dec 21 2020