login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A077110 Nearest integer cube to n^2. 7
0, 1, 1, 8, 8, 27, 27, 64, 64, 64, 125, 125, 125, 125, 216, 216, 216, 343, 343, 343, 343, 512, 512, 512, 512, 729, 729, 729, 729, 729, 1000, 1000, 1000, 1000, 1000, 1331, 1331, 1331, 1331, 1331, 1728, 1728, 1728, 1728, 1728, 2197, 2197, 2197 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

LINKS

Table of n, a(n) for n=0..47.

FORMULA

a(n) = if A075847(n) < A077109(n) then A077106(n) else A077107(n).

EXAMPLE

a(10)=125, as 125=5^3 is the nearest cube to 100=10^2.

MATHEMATICA

nic[n_]:=Module[{n2=n^2, s3, c1, c2}, s3=Surd[n2, 3]; c1=Floor[s3]^3; c2= Ceiling[ s3]^3; If[n2-c1<c2-n2, c1, c2]]; Array[nic, 50, 0] (* Harvey P. Dale, Jul 05 2015 *)

CROSSREFS

Cf. A000578, A000290, A077111, A077118.

Cf. A002760 (Squares and cubes). - Zak Seidov, Oct 08 2015

Sequence in context: A318542 A319089 A003873 * A098360 A133038 A255275

Adjacent sequences:  A077107 A077108 A077109 * A077111 A077112 A077113

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller, Oct 29 2002

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 21 18:38 EDT 2019. Contains 326168 sequences. (Running on oeis4.)