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

A077744
Smallest number whose cube ends in n, or 0 if no such number exists. a(n) = A077743(n)^(1/3).
3
1, 8, 7, 4, 5, 6, 3, 2, 9, 0, 71, 8, 17, 0, 0, 6, 73, 0, 39, 0, 41, 0, 47, 24, 5, 0, 3, 12, 9, 0, 11, 18, 77, 0, 0, 46, 33, 0, 79, 0, 81, 0, 7, 14, 0, 0, 63, 22, 49, 0, 51, 28, 37, 0, 0, 36, 93, 0, 19, 0, 21, 0, 67, 4, 0, 0, 23, 32, 89, 0, 91, 38, 97, 0, 15, 26, 53, 0, 59, 0, 61, 0, 27, 44, 0
OFFSET
1,2
LINKS
FORMULA
a(m*10^(3k+1)) = a(m*10^(3k+2) = 0.
EXAMPLE
a(13) = 17, a(10) = 0.
MAPLE
f:= proc(n) local m, r, x;
m:= 10^(ilog10(n)+1);
r:= [msolve(x^3=n, m)];
if r = [] then 0 else min(map(t -> rhs(op(t)), r)) fi
end proc:
map(f, [$1..100]); # Robert Israel, Mar 05 2023
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Nov 20 2002
EXTENSIONS
More terms from Sascha Kurz, Jan 07 2003
STATUS
approved