login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A318667 Numerators of the sequence whose Dirichlet convolution with itself yields A318307, which is multiplicative with A318307(p^e) = 2^A002487(e). 2

%I #6 Sep 03 2018 23:01:55

%S 1,1,1,1,1,1,1,3,1,1,1,1,1,1,1,-5,1,1,1,1,1,1,1,3,1,1,3,1,1,1,1,31,1,

%T 1,1,1,1,1,1,3,1,1,1,1,1,1,1,-5,1,1,1,1,1,3,1,3,1,1,1,1,1,1,1,-43,1,1,

%U 1,1,1,1,1,3,1,1,1,1,1,1,1,-5,-5,1,1,1,1,1,1,3,1,1,1,1,1,1,1,31,1,1,1,1,1,1,1,3,1

%N Numerators of the sequence whose Dirichlet convolution with itself yields A318307, which is multiplicative with A318307(p^e) = 2^A002487(e).

%C Multiplicative because A318307 and A317934 are.

%H Antti Karttunen, <a href="/A318667/b318667.txt">Table of n, a(n) for n = 1..65537</a>

%F a(n) = numerator of f(n), where f(1) = 1, f(n) = (1/2) * (A318307(n) - Sum_{d|n, d>1, d<n} f(d) * f(n/d)) for n > 1.

%o (PARI)

%o up_to = 1+(2^16);

%o 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};

%o A002487(n) = { my(a=1, b=0); while(n>0, if(bitand(n, 1), b+=a, a+=b); n>>=1); (b); }; \\ From A002487

%o A318307(n) = factorback(apply(e -> 2^A002487(e),factor(n)[,2]));

%o v318667_aux = DirSqrt(vector(up_to, n, A318307(n)));

%o A318667(n) = numerator(v318667_aux[n]);

%Y Cf. A318307, A317934 (denominators).

%K sign,frac,mult

%O 1,8

%A _Antti Karttunen_, Sep 03 2018

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 28 01:15 EDT 2024. Contains 375477 sequences. (Running on oeis4.)