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.

A072626 Parity of floor(n/log(n)).

Original entry on oeis.org

0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0
Offset: 2

Views

Author

Labos Elemer, Jun 28 2002

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_] := Mod[Floor[n / Log[n]], 2]; Array[a, 100, 2] (* Amiram Eldar, Mar 17 2025 *)

Formula

a(n) = floor(n / log(n)) mod 2.
a(n) = A000035(A050500(n)). - Amiram Eldar, Mar 17 2025

Extensions

Offset corrected by Sean A. Irvine, Oct 15 2024