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.
%I A088842 #22 Nov 27 2022 02:09:15 %S A088842 1,1,1,1,1,1,8,1,1,1,1,1,1,8,1,1,1,1,1,1,8,1,1,1,1,1,1,8,1,1,1,1,1,1, %T A088842 8,1,1,1,1,1,1,8,1,1,1,1,1,1,57,1,1,1,1,1,1,8,1,1,1,1,1,1,8,1,1,1,1,1, %U A088842 1,8,1,1,1,1,1,1,8,1,1,1,1,1,1,8,1,1,1,1,1,1,8,1,1,1,1,1,1,57,1,1,1,1,1,1,8 %N A088842 Denominator of the quotient sigma(7n)/sigma(n). %C A088842 Sum of powers of 7 dividing n. - _Amiram Eldar_, Nov 27 2022 %H A088842 Amiram Eldar, <a href="/A088842/b088842.txt">Table of n, a(n) for n = 1..10000</a> %F A088842 G.f.: Sum_{k>=0} 7^k * x^(7^k) / (1 - x^(7^k)). - _Ilya Gutkovskiy_, Dec 15 2020 %F A088842 From _Amiram Eldar_, Nov 27 2022: (Start) %F A088842 Multiplicative with a(7^e) = (7^(e+1)-1)/6, and a(p^e) = 1 for p != 7. %F A088842 Dirichlet g.f.: zeta(s) / (1 - 7^(1 - s)). %F A088842 Sum_{k=1..n} a(k) ~ n*log_7(n) + (1/2 + (gamma - 1)/log(7))*n, where gamma is Euler's constant (A001620). (End) %t A088842 Table[Denominator[DivisorSigma[1, 7*n]/DivisorSigma[1, n]], {n, 1, 128}] (* corrected by _Ilya Gutkovskiy_, Dec 15 2020 *) %t A088842 a[n_] := (7^(IntegerExponent[n, 7] + 1) - 1)/6; Array[a, 100] (* _Amiram Eldar_, Nov 27 2022 *) %o A088842 (PARI) a(n) = denominator(sigma(7*n)/sigma(n)); \\ _Michel Marcus_, Dec 15 2020 %o A088842 (PARI) a(n) = (7^(valuation(n, 7) + 1) - 1)/6; \\ _Amiram Eldar_, Nov 27 2022 %Y A088842 Cf. A000203 (sigma), A001620, A088841 (numerators), A283078 (sigma(7n)). %Y A088842 Cf. A080278, A038712, A088837, A088838, A088839, A088840. %K A088842 nonn,mult,frac %O A088842 1,7 %A A088842 _Labos Elemer_, Nov 04 2003