[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

a(n) = floor(Pi*(sqrt(n))).
19

%I #22 Feb 12 2020 01:56:03

%S 0,3,4,5,6,7,7,8,8,9,9,10,10,11,11,12,12,12,13,13,14,14,14,15,15,15,

%T 16,16,16,16,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,

%U 21,22,22,22,22,23,23,23,23,23,24,24,24

%N a(n) = floor(Pi*(sqrt(n))).

%H Vincenzo Librandi, <a href="/A121854/b121854.txt">Table of n, a(n) for n = 0..1000</a>

%t Table[Floor[\[Pi] Sqrt[n]],{n,0,65}] (* _Harvey P. Dale_, Apr 22 2011 *)

%Y Cf. A121275, A121276.

%K nonn,easy

%O 0,2

%A _Mohammad K. Azarian_, Aug 30 2006

%E Offset corrected and b-file updated by _Ivan Panchenko_, Nov 13 2013