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.

A069949 a(n) = Sum_{d|n} phi(d+1).

This page as a plain text file.
%I A069949 #17 Jun 25 2024 02:03:06
%S A069949 1,3,3,7,3,11,5,13,7,15,5,27,7,15,13,29,7,33,9,31,17,29,9,53,15,27,19,
%T A069949 47,9,61,17,49,23,33,19,85,19,35,25,77,13,75,21,57,39,57,17,111,25,59,
%U A069949 33,83,19,85,31,89,39,69,17,149,31,55,53,97,29,119,33,81,35,109,25,183
%N A069949 a(n) = Sum_{d|n} phi(d+1).
%H A069949 G. C. Greubel, <a href="/A069949/b069949.txt">Table of n, a(n) for n = 1..10000</a>
%F A069949 a(n) = Sum_{k=1..n} phi(gcd(n,k) + 1)/phi(n/gcd(n,k)). - _Richard L. Ollerton_, May 09 2021
%t A069949 A069949[n_]:= DivisorSum[n, EulerPhi[#+1] &];
%t A069949 Table[A069949[n], {n,100}] (* _G. C. Greubel_, Jun 24 2024 *)
%o A069949 (PARI) a(n)=sumdiv(n, d, eulerphi(d+1) );  /* _Joerg Arndt_, Sep 30 2012 */
%o A069949 (Magma)
%o A069949 A069949:= func< n | (&+[EulerPhi(d+1): d in Divisors(n)]) >;
%o A069949 [A069949(n): n in [1..100]]; // _G. C. Greubel_, Jun 24 2024
%o A069949 (SageMath)
%o A069949 def A069949(n): return sum(euler_phi(k+1) for k in (1..n) if (k).divides(n))
%o A069949 [A069949(n) for n in range(1,101)] # _G. C. Greubel_, Jun 24 2024
%Y A069949 Cf. A000010, A092843.
%K A069949 nonn
%O A069949 1,2
%A A069949 _Vladeta Jovovic_, May 04 2002