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.

User: Sahil K. Das

Sahil K. Das's wiki page.

Sahil K. Das has authored 1 sequences.

A377880 Nonprime cubefree numbers.

Original entry on oeis.org

1, 4, 6, 9, 10, 12, 14, 15, 18, 20, 21, 22, 25, 26, 28, 30, 33, 34, 35, 36, 38, 39, 42, 44, 45, 46, 49, 50, 51, 52, 55, 57, 58, 60, 62, 63, 65, 66, 68, 69, 70, 74, 75, 76, 77, 78, 82, 84, 85, 86, 87, 90, 91, 92, 93, 94, 95, 98, 99, 100, 102, 105, 106, 110, 111
Offset: 1

Author

Sahil K. Das, Nov 10 2024

Keywords

Crossrefs

Intersection of A004709 and A018252.
Cf. A000469.

Programs

  • Maple
    q:= n-> not isprime(n) and andmap(i-> i[2]<3, ifactors(n)[2]):
    select(q, [$1..111])[];  # Alois P. Heinz, Nov 10 2024
  • Mathematica
    Select[Range[120], !PrimeQ[#] && Max[FactorInteger[#][[;; , 2]]] < 3 &] (* Amiram Eldar, Nov 10 2024 *)
  • Python
    from sympy import primepi, mobius, integer_nthroot
    def A377880(n):
        def f(x): return int(n+x+primepi(x)-sum(mobius(k)*(x//k**3) for k in range(1, integer_nthroot(x,3)[0]+1)))
        m, k = n, f(n)
        while m != k: m, k = k, f(k)
        return m # Chai Wah Wu, Nov 13 2024