OFFSET
1,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
FORMULA
PROG
(PARI)
up_to = 65537;
DirSqrt(v) = {my(n=#v, u=vector(n)); u[1]=1; for(n=2, n, u[n]=(v[n]/v[1] - sumdiv(n, d, if(d>1&&d<n, u[d]*u[n/d], 0)))/2); u};
v318649_aux = DirSqrt(vector(up_to, n, (n*n)));
A318649(n) = numerator(v318649_aux[n]);
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Aug 31 2018
STATUS
approved