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.

A248758 Ceiling(n*Pi^(1/3)).

This page as a plain text file.
%I A248758 #17 Sep 08 2022 08:46:10
%S A248758 0,2,3,5,6,8,9,11,12,14,15,17,18,20,21,22,24,25,27,28,30,31,33,34,36,
%T A248758 37,39,40,42,43,44,46,47,49,50,52,53,55,56,58,59,61,62,63,65,66,68,69,
%U A248758 71,72,74,75,77,78,80,81,83,84,85,87,88,90,91,93,94,96
%N A248758 Ceiling(n*Pi^(1/3)).
%C A248758 Cube root of the volume of a cylinder with radius and height n rounded up to the nearest integer. - _Wesley Ivan Hurt_, Oct 13 2014
%F A248758 a(n) = ceiling(n*Pi^(1/3)).
%F A248758 a(n) = A240977(n)+1 for all n>0. - _M. F. Hasler_, Oct 14 2014
%p A248758 A248758:=n->ceil(n*Pi^(1/3)): seq(A248758(n), n=0..100); # _Wesley Ivan Hurt_, Oct 13 2014
%t A248758 Table[Ceiling[n*Pi^(1/3)], {n, 0, 100}] (* _Wesley Ivan Hurt_, Oct 13 2014 *)
%o A248758 (Java) static int a(int n) {return (int) Math.ceil(n*Math.pow(Math.PI, (1.0/3))); }
%o A248758 (Magma) [Ceiling(n*Pi(RealField(100))^(1/3)) : n in [0..100]]; // _Wesley Ivan Hurt_, Oct 13 2014
%Y A248758 Cf. A240977 (similar, with floor).
%K A248758 nonn,easy
%O A248758 0,2
%A A248758 _Juliann Barbella_, Oct 13 2014