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.

A372918 a(n) = Sum_{k=1..n} gcd(k^3,n^2).

This page as a plain text file.
%I A372918 #16 May 26 2024 16:10:29
%S A372918 1,5,11,26,29,55,55,148,141,145,131,286,181,275,319,680,305,705,379,
%T A372918 754,605,655,551,1628,1145,905,2367,1430,869,1595,991,3408,1441,1525,
%U A372918 1595,3666,1405,1895,1991,4292,1721,3025,1891,3406,4089,2755,2255,7480,4501,5725,3355
%N A372918 a(n) = Sum_{k=1..n} gcd(k^3,n^2).
%H A372918 Seiichi Manyama, <a href="/A372918/b372918.txt">Table of n, a(n) for n = 1..10000</a>
%F A372918 Multiplicative with a(p^e) = p^e * (1 + ((p-1)/p) * Sum_{i=1..2*e} p^(floor(2*i/3))). - _Amiram Eldar_, May 24 2024
%t A372918 a[n_] := Sum[GCD[k^3, n^2], {k, 1, n}]; Array[a, 100] (* _Amiram Eldar_, May 24 2024 *)
%o A372918 (PARI) a(n) = sum(k=1, n, gcd(k^3, n^2));
%Y A372918 Cf. A069097, A078430, A343497, A372882.
%K A372918 nonn,mult
%O A372918 1,2
%A A372918 _Seiichi Manyama_, May 16 2024