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.

A364957 Dirichlet inverse of A365463.

This page as a plain text file.
%I A364957 #9 Sep 16 2023 19:09:39
%S A364957 1,-2,-3,3,-1,6,-1,-12,0,3,-1,-9,-1,2,3,35,-1,0,-1,-10,3,3,-1,36,-24,
%T A364957 2,0,-3,-1,-9,-1,-82,3,2,-5,0,-1,2,3,37,-1,-6,-1,-10,0,3,-1,-105,0,46,
%U A364957 3,-6,-1,0,-9,18,3,3,-1,30,-1,2,0,226,-3,-9,-1,-6,3,12,-1,0,-1,2,72,-3,1,-6,-1,-127,0,3,-1,9,-3,2,3
%N A364957 Dirichlet inverse of A365463.
%H A364957 Antti Karttunen, <a href="/A364957/b364957.txt">Table of n, a(n) for n = 1..19683</a>
%F A364957 a(1) = 1, and for n > 1, a(n) = -Sum_{d|n, d<n} A365463(n/d) * a(d).
%o A364957 (PARI)
%o A364957 \\ Uses also code from A356867:
%o A364957 A365463(n) = gcd(n, A356867(n));
%o A364957 memoA364957 = Map();
%o A364957 A364957(n) = if(1==n,1,my(v); if(mapisdefined(memoA364957,n,&v), v, v = -sumdiv(n,d,if(d<n,A365463(n/d)*A364957(d),0)); mapput(memoA364957,n,v); (v)));
%Y A364957 Cf. A356867, A365463.
%Y A364957 Cf. also A364257.
%K A364957 sign
%O A364957 1,2
%A A364957 _Antti Karttunen_, Sep 16 2023