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.

A121902 a(n) = floor((Pi - e)*sqrt(n)).

This page as a plain text file.
%I A121902 #26 Sep 08 2022 08:45:27
%S A121902 0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,
%T A121902 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
%U A121902 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4
%N A121902 a(n) = floor((Pi - e)*sqrt(n)).
%H A121902 Vincenzo Librandi, <a href="/A121902/b121902.txt">Table of n, a(n) for n = 0..999</a> [Offset shifted by _Georg Fischer_, Sep 02 2022]
%t A121902 Table[Floor[(Pi - E)*Sqrt[n]], {n, 0, 110}] (* _Vincenzo Librandi_, Feb 21 2013 *)
%o A121902 (PARI) for(n=0,50, print1(floor((Pi - exp(1))*sqrt(n)), ", ")) \\ _G. C. Greubel_, Oct 28 2017
%o A121902 (Magma) C<i> := ComplexField(); [Floor((Pi(C) - Exp(1))*Sqrt(n)): n in [0..50]]; // _G. C. Greubel_, Oct 28 2017
%Y A121902 Cf. A073244 (Pi-e), A121854, A121855, A121856, A121857, A121899, A121900, A121901.
%K A121902 nonn,easy
%O A121902 0,24
%A A121902 _Mohammad K. Azarian_, Sep 01 2006
%E A121902 Offset corrected by _Mohammad K. Azarian_, Nov 20 2008
%E A121902 Offset changed to 0 by _Georg Fischer_, Sep 02 2022