cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A244014 Numerators of rational approximations to sqrt(6) obtained from Newton's method.

Original entry on oeis.org

2, 5, 49, 4801, 46099201, 4250272665676801, 36129635465198759610694779187201, 2610701117696295981568349760414651575095962187244375364404428801
Offset: 0

Views

Author

N. J. A. Sloane, Jun 18 2014

Keywords

Examples

			2, 5/2, 49/20, 4801/1960, 46099201/18819920, ...
		

Crossrefs

The analogs for sqrt(k), k=2,3,5,6,7 are: A001601/A051009, A002812/A071579, A081459/A081460, A244014/A244015, A244012/A244013.

Programs

  • Maple
    N:=6;
    s:=[floor(sqrt(N))];
    M:=8;
    for n from 1 to M do
    x:=s[n];
    h:=(N-x^2)/(2*x);
    s:=[op(s),x+h]; od:
    lprint(s);
    s1:=map(numer,s);
    s2:=map(denom,s);