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.

A333178 a(n) = Sum_{d|n, gcd(d, n/d) = 1} prime(d).

This page as a plain text file.
%I A333178 #6 Mar 10 2020 10:29:05
%S A333178 2,5,7,9,13,23,19,21,25,45,33,51,43,65,65,55,61,89,69,91,97,115,85,
%T A333178 115,99,147,105,133,111,223,129,133,175,203,179,183,159,235,215,205,
%U A333178 181,337,193,233,233,287,213,283,229,331,299,289,243,359,301,301,343,385,279,461
%N A333178 a(n) = Sum_{d|n, gcd(d, n/d) = 1} prime(d).
%F A333178 Sum_{d|n, gcd(d, n/d) = 1} (-1)^omega(n/d) * a(d) = prime(n).
%t A333178 a[n_] := Sum[If[GCD[n/d, d] == 1, Prime[d], 0], {d, Divisors[n]}]; Table[a[n], {n, 1, 60}]
%o A333178 (PARI) a(n) = sumdiv(n, d, if (gcd(d, n/d) ==1, prime(d))); \\ _Michel Marcus_, Mar 10 2020
%Y A333178 Cf. A000040, A001221, A007445, A076479, A333177.
%K A333178 nonn
%O A333178 1,1
%A A333178 _Ilya Gutkovskiy_, Mar 10 2020