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”).

A077111
a(n) = A077110(n) - n^2.
5
0, 0, -3, -1, -8, 2, -9, 15, 0, -17, 25, 4, -19, -44, 20, -9, -40, 54, 19, -18, -57, 71, 28, -17, -64, 104, 53, 0, -55, -112, 100, 39, -24, -89, -156, 106, 35, -38, -113, -190, 128, 47, -36, -121, -208, 172, 81, -12, -107, -204, 244, 143, 40, -65, -172
OFFSET
0,3
COMMENTS
a(n)=0 iff n = m^(6*k).
FORMULA
a(n) = if A075847(n) < A070923(n) then -A075847(n) else A070923(n).
EXAMPLE
A077110(20)=343=7^3 is the nearest cube to 20^2=400, therefore a(20)=343-400=-57.
CROSSREFS
KEYWORD
sign
AUTHOR
Reinhard Zumkeller, Oct 29 2002
STATUS
approved