|
|
A292640
|
|
Rank of (4-r)*n when all the numbers (4-r)*j and (4+r)*k, where r = sqrt(2), j>=1, k>=1, are jointly ranked.
|
|
3
|
|
|
1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, 20, 22, 23, 25, 26, 28, 29, 31, 32, 33, 35, 36, 38, 39, 41, 42, 44, 45, 47, 48, 50, 51, 53, 54, 56, 57, 59, 60, 62, 63, 65, 66, 67, 69, 70, 72, 73, 75, 76, 78, 79, 81, 82, 84, 85, 87, 88, 90, 91, 93, 94, 96, 97
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
MATHEMATICA
|
z = 120; r = 4 - Sqrt[2]; s = 4 + Sqrt[2];
Table[n + Floor[n*r/s], {n, 1, z}] (* A292640 *)
Table[n + Floor[n*s/r], {n, 1, z}] (* A292641 *)
|
|
PROG
|
(PARI) vector(100, n, n+floor(n*(4-sqrt(2))/(4+sqrt(2)))) \\ G. C. Greubel, Aug 20 2018
(Magma) [n+Floor(n*(4-Sqrt(2))/(4+Sqrt(2))): n in [1..100]]; // G. C. Greubel, Aug 20 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|