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.

A046157 Number of empty intervals when fractional_part(i*gamma) for i = 1, ..., n is plotted along [ 0, 1 ] subdivided into n equal regions, where gamma is the Euler-Mascheroni constant.

This page as a plain text file.
%I A046157 #19 Feb 16 2025 08:32:38
%S A046157 0,0,0,1,0,0,0,1,2,2,3,0,3,5,3,3,3,2,0,3,2,2,2,1,1,0,2,3,4,3,3,3,7,6,
%T A046157 7,7,8,8,13,10,10,10,12,11,6,13,14,14,14,14,15,26,16,19,14,17,18,18,
%U A046157 19,18,20,18,21,18,20,20,21,21,19,21,15,20,23,21,21,20,22,26,21,22,20
%N A046157 Number of empty intervals when fractional_part(i*gamma) for i = 1, ..., n is plotted along [ 0, 1 ] subdivided into n equal regions, where gamma is the Euler-Mascheroni constant.
%H A046157 Ivan Neretin, <a href="/A046157/b046157.txt">Table of n, a(n) for n = 1..10000</a>
%H A046157 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/EquidistributedSequence.html">Equidistributed Sequence.</a>
%t A046157 Table[Length@Complement[Range[n] - 1, Floor[n*FractionalPart[EulerGamma*Range[n]]]], {n, 81}] (* _Ivan Neretin_, Jan 23 2018 *)
%Y A046157 Cf. A046158 (positions of 0).
%Y A046157 Similar sequences with other constants: A036412 (e), A036414 (phi), A036416 (Pi).
%K A046157 nonn,look
%O A046157 1,9
%A A046157 _Eric W. Weisstein_