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.

A334783 a(n) = Sum_{d|n} lcm(d, sigma(d)).

This page as a plain text file.
%I A334783 #16 Sep 08 2022 08:46:25
%S A334783 1,7,13,35,31,31,57,155,130,127,133,143,183,231,163,651,307,382,381,
%T A334783 575,741,535,553,383,806,735,1210,315,871,631,993,2667,673,1231,1767,
%U A334783 3770,1407,1527,2379,1055,1723,1599,1893,1487,1450,2215,2257,2367,2850,5552
%N A334783 a(n) = Sum_{d|n} lcm(d, sigma(d)).
%H A334783 Robert Israel, <a href="/A334783/b334783.txt">Table of n, a(n) for n = 1..10000</a>
%H A334783 Robert Israel, <a href="/A334783/a334783.png">Plot of a(n)/n^2 for n=1..20000</a>
%F A334783 a(p) = p^2 + p + 1 for p = primes (A000040).
%e A334783 a(6) = lcm(1, sigma(1)) + lcm(2, sigma(2)) + lcm(3, sigma(3)) + lcm(6, sigma(6)) = lcm(1, 1) + lcm(2, 3) + lcm(3, 4) + lcm(6, 12) = 1 + 6 + 12 + 12 = 31.
%p A334783 N:= 100: # for a(1)..a(N)
%p A334783 V:= Vector(N):
%p A334783 for d from 1 to N do
%p A334783   t:= ilcm(d,numtheory:-sigma(d));
%p A334783   R:= [seq(i,i=d..N,d)];
%p A334783   V[R]:= V[R] +~ t;
%p A334783 od:
%p A334783 convert(V,list); # _Robert Israel_, May 13 2020
%t A334783 a[n_] := DivisorSum[n, LCM[#, DivisorSigma[1, #]] &]; Array[a, 100] (* _Amiram Eldar_, May 10 2020 *)
%o A334783 (Magma) [&+[LCM(d, &+Divisors(d)): d in Divisors(n)]: n in [1..100]]
%o A334783 (PARI) a(n) = sumdiv(n, d, lcm(d, sigma(d))); \\ _Michel Marcus_, May 10 2020
%Y A334783 Cf. A334490 (Sum_{d|n} gcd(d, sigma(d))), A334782 (Sum_{d|n} lcm(d, tau(d))).
%Y A334783 Cf. A000005 (tau(n)), A000203 (sigma(n)), A009242 (lcm(n, sigma(n))).
%K A334783 nonn,look
%O A334783 1,2
%A A334783 _Jaroslav Krizek_, May 10 2020