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.

A332652 a(n) = Sum_{k=1..n} n^(k/gcd(n, k)).

This page as a plain text file.
%I A332652 #11 Sep 08 2022 08:46:25
%S A332652 1,4,15,76,785,7836,137263,2130976,47895489,1010012140,28531167071,
%T A332652 743044702104,25239592216033,797785008119932,31147773583464735,
%U A332652 1157442765678719056,51702516367896047777,2185932446984222457444,109912203092239643840239,5255987282125826560192520
%N A332652 a(n) = Sum_{k=1..n} n^(k/gcd(n, k)).
%F A332652 a(n) = Sum_{k=1..n} n^(lcm(n, k)/n).
%F A332652 a(n) = Sum_{d|n} Sum_{k=1..d, gcd(k, d) = 1} n^k.
%F A332652 a(n) = n * A332653(n).
%t A332652 Table[Sum[n^(k/GCD[n, k]), {k, 1, n}], {n, 1, 20}]
%t A332652 Table[Sum[Sum[If[GCD[k, d] == 1, n^k, 0], {k, 1, d}], {d, Divisors[n]}], {n, 1, 20}]
%o A332652 (Magma) [&+[n^(k div Gcd(n,k)):k in [1..n]]:n in [1..21]]; // _Marius A. Burtea_, Feb 18 2020
%Y A332652 Cf. A031972, A056665, A057661, A226561, A228640, A332620, A332621, A332653, A332655.
%K A332652 nonn
%O A332652 1,2
%A A332652 _Ilya Gutkovskiy_, Feb 18 2020