OFFSET
1,2
COMMENTS
Let S = {h^6, h >= 1} and T = {32*k^6, k >= 1}. Then S and T are disjoint. The position of n^6 in the ordered union of S and T is A249117(n), and the position of 32*n^6 is A249118(n). Equivalently, the latter two give the positions of n*2^(2/3) and n*2^(3/2), respectively, when all the numbers h*2^(2/3) and k*2^(3/2) are jointly ranked.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
{h^6, h >= 1} = {1, 64, 729, 4096, 15625, 46656, 117649, ...};
{32*k^6, k >= 1} = {32, 2048, 23328, 131072, 500000, ...};
so the ordered union is {1, 32, 64, 729, 2048, 4096, 15625, ...}, and a(2) = 3
because 2^6 is in position 3 of the ordered union.
MAPLE
Res:= NULL: count:= 0:
a:= 1: b:= 1:
for pos from 1 while count < 100 do
if a^6 < 32*b^6 then
Res:= Res, pos;
count:= count+1;
a:= a+1
else
b:= b+1
fi
od:
Res; # Robert Israel, Aug 11 2019
MATHEMATICA
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Oct 21 2014
STATUS
approved