OFFSET
1,4
COMMENTS
Multiplicative because A046644 is.
No negative terms among the first 2^20 terms. Is the sequence nonnegative?
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
FORMULA
a(n) = numerator of f(n), where f(1) = 1, f(n) = (1/2) * (A046644(n) - Sum_{d|n, d>1, d<n} f(d) * f(n/d)) for n > 1.
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}; \\ From A317937.
A005187(n) = { my(s=n); while(n>>=1, s+=n); s; };
v317940aux = DirSqrt(vector(up_to, n, A046644(n)));
A317940(n) = numerator(v317940aux[n]);
CROSSREFS
KEYWORD
nonn,frac,mult
AUTHOR
Antti Karttunen, Aug 14 2018
STATUS
approved