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.

A053812 Exponents occurring in A053810.

Original entry on oeis.org

2, 3, 2, 2, 3, 5, 2, 2, 3, 7, 2, 5, 2, 3, 2, 2, 2, 2, 3, 2, 2, 2, 11, 7, 3, 2, 2, 5, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 13, 2, 2, 2, 2, 2, 3, 2, 2, 5, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 7, 2, 3, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 17, 2, 2, 2, 2, 3, 2, 2, 2
Offset: 1

Views

Author

Henry Bottomley, Mar 28 2000

Keywords

Crossrefs

Programs

  • PARI
    LIM = prime(80)^2; v = vector(400); count = 0; forprime (p = 2, prime(80), x = 2; while (p^x <= LIM, count++; v[count] = p^x; x = nextprime(x + 1))); v = vecsort(vector(count, i, v[i])); vector(count, i, bigomega(v[i])) \\ David Wasserman, Feb 17 2006
    
  • Python
    from sympy import primepi, integer_nthroot, primerange, factorint
    def A053812(n):
        def f(x): return int(n-1+x-sum(primepi(integer_nthroot(x, p)[0]) for p in primerange(x.bit_length())))
        kmin, kmax = 1,2
        while f(kmax) >= kmax:
            kmax <<= 1
        while True:
            kmid = kmax+kmin>>1
            if f(kmid) < kmid:
                kmax = kmid
            else:
                kmin = kmid
            if kmax-kmin <= 1:
                break
        return list(factorint(kmax).values())[0] # Chai Wah Wu, Aug 13 2024

Formula

a(n) = A001222(A053810(n)). - David Wasserman, Feb 17 2006
a(n) = log(A053810(n))/log(A053811(n)). - Amiram Eldar, Nov 21 2020

Extensions

More terms from David Wasserman, Feb 17 2006
Offset corrected by Amiram Eldar, Nov 21 2020