|
|
A061723
|
|
Floor of arithmetic-geometric mean of n and 2*n - 1.
|
|
1
|
|
|
0, 1, 2, 3, 5, 6, 8, 9, 11, 12, 14, 15, 17, 18, 19, 21, 22, 24, 25, 27, 28, 30, 31, 33, 34, 35, 37, 38, 40, 41, 43, 44, 46, 47, 49, 50, 52, 53, 54, 56, 57, 59, 60, 62, 63, 65, 66, 68, 69, 70, 72, 73, 75, 76, 78, 79, 81, 82, 84, 85, 86, 88, 89, 91, 92, 94, 95, 97, 98, 100, 101
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
PROG
|
(PARI) a(n)=if(n<0, 0, floor(agm(n, 2*n-1)))
(PARI) { default(realprecision, 100); for (n=0, 2000, write("b061723.txt", n, " ", floor(agm(n, 2*n - 1))) ) } \\ Harry J. Smith, Jul 27 2009
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|