|
|
A276219
|
|
Position of n^s in the joint ranking of {h} and {k^s}, where s = sqrt(2), h >= 1, k >= 2.
|
|
4
|
|
|
3, 6, 10, 13, 17, 21, 25, 30, 34, 39, 44, 49, 54, 60, 65, 70, 76, 82, 88, 94, 100, 106, 112, 118, 125, 131, 138, 144, 151, 158, 165, 172, 179, 186, 193, 201, 208, 215, 223, 230, 238, 246, 253, 261, 269, 277, 285, 293, 301, 309, 318, 326, 334, 343, 351, 360
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
2,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = n - 1 + 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 < 2^s < 3 < 4 < 3^s < 5 < 6 < 7 < 4^s, so that a(n) = (3,6,10,...).
|
|
MATHEMATICA
|
z = 150; s = N[Sqrt[2], 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}]] (* A276219 *)
Flatten[Table[Position[w, v[[n]]], {n, 1, z}]] (* A276220 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|