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.

A365474 a(n) = A365339(10^n).

Original entry on oeis.org

1, 7, 34, 193, 1276, 9656, 78562, 664643, 5761519, 50847598
Offset: 0

Views

Author

Chai Wah Wu, Sep 04 2023

Keywords

Comments

The Pollack et al. reference lists a(4)-a(7) and conjectures that A365339(n) = A000720(n)+64 for n >= 31957 which in turns implies the conjecture that a(n) = A006880(n)+64 for n >= 5.

Crossrefs

Programs

  • Python
    from bisect import bisect
    from sympy import totient
    def A365474(n):
        m = 10**n
        plist, qlist, c = tuple(totient(i) for i in range(1,m+1)), [0]*(m+1), 0
        for i in range(m):
            qlist[a:=bisect(qlist,plist[i],lo=1,hi=c+1,key=lambda x:plist[x])]=i
            c = max(c,a)
        return c

Formula

a(n) = A006880(n)+64 for n >= 5 (conjectured).