

A185392


Position of g(n) when the numbers f(j) and g(k) are jointly ranked, where f(j) = j + cos j and g(k) = k + sin k.


2



2, 4, 5, 8, 10, 11, 13, 16, 17, 19, 22, 23, 25, 28, 29, 31, 34, 36, 37, 40, 42, 43, 46, 48, 49, 52, 54, 55, 57, 60, 61, 63, 66, 67, 69, 72, 73, 75, 78, 80, 81, 84, 86, 87, 90, 92, 93, 96, 98, 99, 101, 104, 105, 107, 110, 111, 113, 116, 117, 119, 122, 124, 125
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

For a guide to related sequences and a conjecture, see A206911.


LINKS

G. C. Greubel, Table of n, a(n) for n = 1..1000


MATHEMATICA

f[n_] := N[n + Abs[Cos[n]]]; g[n_] := N[n + Abs[Sin[n]]]; z = 90;
c = Table[f[n], {n, 1, z}];
s = Table[g[n], {n, 1, z}];
j = Sort[Union[c, s]];
p[n_] := Position[j, f[n]];
q[n_] := Position[j, g[n]];
Flatten[Table[p[n], {n, 1, z}]] (* A208327 *)
Flatten[Table[q[n], {n, 1, z}]] (* A185392 *)


CROSSREFS

Cf. A206911, A208327.
Sequence in context: A161790 A131396 A131391 * A324700 A191987 A138007
Adjacent sequences: A185389 A185390 A185391 * A185393 A185394 A185395


KEYWORD

nonn


AUTHOR

Clark Kimberling, Feb 26 2012


STATUS

approved



