OFFSET
1,1
COMMENTS
Continued fraction expansion is 2 followed by {1, 1, 1, 4} repeated. - Harry J. Smith, Jun 01 2009
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..20000
Jason Kimberley, Index of expansions of sqrt(d) in base b
R. J. Nemiroff & J. Bonnell, The first 1 million digits of the square root of 7
Simon Plouffe, Plouffe's Inverter, sqrt(7) to 100000 digits
EXAMPLE
2.645751311064590590501615753639260425710259183082450180368334459201...
MATHEMATICA
RealDigits[N[Sqrt[7], 200]][[1]] (* Vladimir Joseph Stephan Orlovsky, Feb 21 2011 *)
PROG
(PARI) default(realprecision, 20080); x=sqrt(7); for (n=1, 20000, d=floor(x); x=(x-d)*10; write("b010465.txt", n, " ", d)); \\ Harry J. Smith, Jun 01 2009
(Magma) SetDefaultRealField(RealField(100)); Sqrt(7); // Vincenzo Librandi, Feb 15 2020
CROSSREFS
KEYWORD
AUTHOR
STATUS
approved