login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A066293
a(n) = A000203(n)^2 - A001157(n) = sigma(n)^2 - sigma_2(n).
1
0, 4, 6, 28, 10, 94, 14, 140, 78, 194, 22, 574, 26, 326, 316, 620, 34, 1066, 38, 1218, 524, 686, 46, 2750, 310, 914, 780, 2086, 58, 3884, 62, 2604, 1084, 1466, 1004, 6370, 74, 1790, 1436, 5890, 82, 6716, 86, 4494, 3718, 2534, 94, 11966, 798, 5394, 2284
OFFSET
1,2
LINKS
FORMULA
For p prime, a(p) = 2p.
From Amiram Eldar, Mar 17 2024: (Start)
a(n) = A072861(n) - A001157(n).
Sum_{k=1..n} a(k) ~ c * n^3, where c = zeta(3)/2 = 0.601028451579... . (End)
MATHEMATICA
a[n_] := DivisorSigma[1, n]^2 - DivisorSigma[2, n]; Array[a, 50] (* Amiram Eldar, Jul 31 2019 *)
PROG
(PARI) a(n) = sigma(n)^2 - sigma(n, 2); \\ Michel Marcus, Mar 22 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Dec 12 2001
STATUS
approved