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.

Previous Showing 11-12 of 12 results.

A295503 a(n) = phi(10^n-1), where phi is Euler's totient function (A000010).

Original entry on oeis.org

6, 60, 648, 6000, 64800, 466560, 6637344, 58752000, 648646704, 5890320000, 66663457344, 461894400000, 6458084523072, 60339430569600, 610154104320000, 5529599115264000, 66666634474902192, 441994921381739520, 6666666666666666660, 58301444908800000000
Offset: 1

Views

Author

Seiichi Manyama, Nov 22 2017

Keywords

Crossrefs

phi(k^n-1): A053287 (k=2), A295500 (k=3), A295501 (k=4), A295502 (k=5), A366623 (k=6), A366635 (k=7), A366654 (k=8), A366663 (k=9), this sequence (k=10), A366685 (k=11), A366711 (k=12).

Programs

  • Mathematica
    Array[ EulerPhi[10^# - 1] &, 20] (* Robert G. Wilson v, Nov 22 2017 *)
  • PARI
    {a(n) = eulerphi(10^n-1)}

Formula

a(n) = n*A295497(n).
a(n) = A000010(A002283(n)). - Michel Marcus, Nov 25 2017

A366718 Largest prime factor of 12^n - 1.

Original entry on oeis.org

11, 13, 157, 29, 22621, 157, 4943, 233, 80749, 22621, 266981089, 20593, 20369233, 13063, 22621, 260753, 74876782031, 80749, 29043636306420266077, 85403261, 8177824843189, 57154490053, 321218438243, 2227777, 12629757106815551, 20369233, 86769286104133
Offset: 1

Views

Author

Sean A. Irvine, Oct 17 2023

Keywords

Crossrefs

Programs

  • Magma
    [Maximum(PrimeDivisors(12^n-1)): n in [1..40]];
  • Mathematica
    Table[FactorInteger[12^n - 1][[-1, 1]], {n, 40}]

Formula

a(n) = A006530(A024140(n)).
Previous Showing 11-12 of 12 results.