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.

A213635 m*[n/m], where m is the least nondivisor of n (as in A007978) and [ ] = floor.

Original entry on oeis.org

0, 0, 2, 3, 4, 4, 6, 6, 8, 9, 10, 10, 12, 12, 14, 15, 16, 16, 18, 18, 20, 21, 22, 20, 24, 24, 26, 27, 28, 28, 30, 30, 32, 33, 34, 35, 36, 36, 38, 39, 40, 40, 42, 42, 44, 45, 46, 45, 48, 48, 50, 51, 52, 52, 54, 54, 56, 57, 58, 56, 60, 60, 62, 63, 64, 64, 66, 66, 68
Offset: 1

Views

Author

Clark Kimberling, Jun 16 2012

Keywords

Crossrefs

Cf. A213633.

Programs

  • Mathematica
    (See A213633.)
  • Python
    def A213635(n): return n-next(filter(None, (n%d for d in range(2,n)))) if n>2 else 0 # Chai Wah Wu, Feb 22 2023