

A147862


Decimal expansion of smallest positive solution to x^2 = tan x.


6



4, 6, 6, 6, 4, 9, 9, 5, 6, 3, 4, 4, 4, 6, 4, 4, 2, 7, 6, 9, 4, 3, 2, 8, 3, 0, 1, 4, 6, 0, 1, 7, 9, 4, 0, 3, 0, 2, 1, 1, 1, 3, 6, 2, 6, 8, 7, 7, 2, 8, 5, 9, 7, 7, 6, 9, 2, 4, 0, 6, 1, 4, 3, 0, 9, 1, 4, 2, 6, 0, 5, 4, 2, 2, 0, 9, 9, 8, 6, 8, 9, 7, 1, 5, 1, 4, 6, 4, 1, 9, 7, 6, 0, 4, 1, 9, 3, 0, 9, 7
(list;
constant;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


LINKS

Table of n, a(n) for n=1..100.


PROG

(Other) For 1 <= n <= 4 use: x=4.4;
starting value of x for the iteration n=1;
n may be 1 or 2 or 3 or 4, but no higher tad=10^(110);
or other precision of your choice \p120;
or enter this manually in PARI/gp dx=0.001;
arbitrary starting iteration step value while(x, dif=tan(x)x^n;
if(x>(3.*Pi/2.), print("error; x out of range", x); break);
if(dx<tad, print(x); write(filenam, x); break);
filnam is your filename if(dif<0, x=x+dx; next);
if(dif>0, x=xdx; dx=dx/10; next)) For n > 4, do all of the following: In line 1, change the starting value of x to 1.0; in line 2, change the value of n to any integer > 4; in the nexttolast line, change the "less than" symbol to "greater than"; in the last line, change the "greater than" symbol to "less than"; in the line containing the string "3.*Pi/2.", delete the "3.*" part.


CROSSREFS

Cf. A115365, A147863A147868
Sequence in context: A249022 A270541 A046262 * A029854 A329502 A141328
Adjacent sequences: A147859 A147860 A147861 * A147863 A147864 A147865


KEYWORD

nonn,cons


AUTHOR

Grover Hughes (ghughes(AT)magtel.com), Nov 16 2008, Nov 19 2008


STATUS

approved



