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)).

This page as a plain text file.
%I A072626 #13 Mar 17 2025 02:41:22
%S A072626 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,
%T A072626 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,
%U A072626 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
%N A072626 Parity of floor(n/log(n)).
%H A072626 Amiram Eldar, <a href="/A072626/b072626.txt">Table of n, a(n) for n = 2..10000</a>
%F A072626 a(n) = floor(n / log(n)) mod 2.
%F A072626 a(n) = A000035(A050500(n)). - _Amiram Eldar_, Mar 17 2025
%t A072626 a[n_] := Mod[Floor[n / Log[n]], 2]; Array[a, 100, 2] (* _Amiram Eldar_, Mar 17 2025 *)
%Y A072626 Cf. A000035, A000720, A050500, A071986.
%K A072626 nonn
%O A072626 2,1
%A A072626 _Labos Elemer_, Jun 28 2002
%E A072626 Offset corrected by _Sean A. Irvine_, Oct 15 2024