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.

Showing 1-1 of 1 results.

A382670 Numbers k such that a regular k-gon (k>=3) can be constructed with a compass, straightedge and an angle quinsector.

Original entry on oeis.org

3, 4, 5, 6, 8, 10, 11, 12, 15, 16, 17, 20, 22, 24, 25, 30, 32, 33, 34, 40, 41, 44, 48, 50, 51, 55, 60, 64, 66, 68, 75, 80, 82, 85, 88, 96, 100, 101, 102, 110, 120, 123, 125, 128, 132, 136, 150, 160, 164, 165, 170, 176, 187, 192, 200, 202, 204, 205, 220, 240
Offset: 1

Views

Author

Chai Wah Wu, Apr 02 2025

Keywords

Crossrefs

Programs

  • Python
    from itertools import count, islice
    from sympy import primefactors, totient
    def A382670_gen(): # generator of terms
        yield from filter(lambda n: set(primefactors(totient(n))) <= {2,5}, count(3))
    A382670_list = list(islice(A382670_gen(),70))
Showing 1-1 of 1 results.