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.

A018046 Powers of cube root of 24 rounded to nearest integer.

This page as a plain text file.
%I A018046 #19 Jun 18 2024 21:04:24
%S A018046 1,3,8,24,69,200,576,1661,4793,13824,39875,115020,331776,957008,
%T A018046 2760488,7962624,22968182,66251701,191102976,551236370,1590040836,
%U A018046 4586471424,13229672881,38160980056,110075314176,317512149144,915863521339,2641807540224,7620291579446
%N A018046 Powers of cube root of 24 rounded to nearest integer.
%H A018046 Vincenzo Librandi, <a href="/A018046/b018046.txt">Table of n, a(n) for n = 0..300</a>
%t A018046 Floor[(Power[24,(3)^-1])^Range[0,30]+1/2] (* _Harvey P. Dale_, Nov 13 2011 *)
%t A018046 Table[Round[24^(n/3)], {n, 0, 40}] (* _Vincenzo Librandi_, Jan 09 2014 *)
%o A018046 (Magma) [Round(24^(n/3)): n in [0..40]]; // _Vincenzo Librandi_, Jan 09 2014
%o A018046 (Python)
%o A018046 from sympy import integer_nthroot
%o A018046 def A018046(n): return -integer_nthroot(m:=3**n<<3*n,3)[0]+integer_nthroot(m<<3,3)[0] # _Chai Wah Wu_, Jun 18 2024
%Y A018046 Cf. powers of cube root of k rounded up: A017980 (k=2), A017983 (k=3), A017986 (k=4), A017989 (k=5), A017992 (k=6), A017995 (k=7), A018001 (k=9), A018004 (k=10), A018007 (k=11), A018010 (k=12), A018013 (k=13), A018016 (k=14), A018019 (k=15), A018022 (k=16), A018025 (k=17), A018028 (k=18), A018031 (k=19), A018034 (k=20), A018037 (k=21), A018040 (k=22), A018043 (k=23), this sequence (k=24).
%K A018046 nonn
%O A018046 0,2
%A A018046 _N. J. A. Sloane_
%E A018046 More terms from _Vincenzo Librandi_, Jan 09 2014