OFFSET
0,1
LINKS
R. Parimala, A Hasse principle for quadratic forms over function fields, Bull. Amer. Math. Soc. (N.S.) 51 (2014), no. 3, 447--461. MR3196794.
EXAMPLE
2, 11/4, 233/88, 108497/41008, 23543191457/8898489952, ...
MAPLE
N:=7;
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);
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
N. J. A. Sloane, Jun 18 2014
STATUS
approved