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.

A333471 a(n) = 2 * mu(n) + Sum_{d|n, d > 1} mu(n/d) * (prime(d) - prime(d-1)).

This page as a plain text file.
%I A333471 #4 Mar 24 2020 14:05:14
%S A333471 2,-1,0,1,2,1,2,0,2,3,0,3,2,-1,0,4,4,-2,4,-3,-2,5,2,0,4,1,-2,1,0,-3,
%T A333471 12,-2,4,-3,4,-4,4,1,0,2,4,1,8,-5,-2,-1,10,2,0,-8,-2,1,0,10,2,2,0,1,4,
%U A333471 -1,0,-3,10,0,-4,-7,12,3,6,-9,2,4,6,1,-2,-3,2,3,2,-2
%N A333471 a(n) = 2 * mu(n) + Sum_{d|n, d > 1} mu(n/d) * (prime(d) - prime(d-1)).
%C A333471 Moebius transform of A054541 (2 followed by prime gaps).
%F A333471 a(n) = Sum_{d|n} mu(n/d) * A054541(d).
%F A333471 Sum_{k=1..n} floor(n/k) * a(k) = prime(n).
%t A333471 a[n_] := 2 MoebiusMu[n] + Sum[If[d > 1, MoebiusMu[n/d] (Prime[d] - Prime[d - 1]), 0], {d, Divisors[n]}]; Table[a[n], {n, 1, 80}]
%Y A333471 Cf. A000040, A001223, A007444, A008683, A030013, A054541, A182986, A333450 (partial sums).
%K A333471 sign
%O A333471 1,1
%A A333471 _Ilya Gutkovskiy_, Mar 23 2020