OFFSET
1,1
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = n + floor(n^s), n >= 2; the complement is given by n + floor(n^(1/s)), n >= 1.
EXAMPLE
The first numbers in the joint ranking are
1 < 2 < 3 < 2^s < 4 < 5 < 3^s < 6 < 7 < 8 < 9 < 4^s, so that a(n) = (4,7,12,...).
MATHEMATICA
z = 150; s = N[GoldenRatio, 100];
u = Table[n + Floor[n^s], {n, 2, z}];
v = Table[n + Floor[n^(1/s)], {n, 1, z^s}];
w = Union[u, v]; Flatten[Table[Position[w, u[[n]]], {n, 1, z}]]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Sep 06 2016
STATUS
approved