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 A156834 #20 Jun 02 2025 01:23:22 %S A156834 1,2,3,5,5,12,7,17,19,30,11,63,13,56,99,89,17,154,19,269,237,132,23, %T A156834 509,301,182,379,783,29,1230,31,881,813,306,2125,2431,37,380,1299, %U A156834 4157,41,4822,43,3695,6175,552,47,8529,5587,6266,2787 %N A156834 A156348 * A000010. %C A156834 Conjecture: for n>1, a(n) = n iff n is prime. Companion to A156833. %H A156834 Seiichi Manyama, <a href="/A156834/b156834.txt">Table of n, a(n) for n = 1..10000</a> %F A156834 Equals A156348 * A054525 * [1, 2, 3,...]; where A054525 = the inverse Mobius transform. %F A156834 a(n) = Sum_{d|n} phi(d) * binomial(d+n/d-2, d-1). - _Seiichi Manyama_, Apr 22 2021 %F A156834 G.f.: Sum_{k >= 1} phi(k) * (x/(1 - x^k))^k. - _Seiichi Manyama_, Apr 22 2021 %e A156834 a(4) = 5 = (1, 2, 0, 1) dot (1, 1, 2, 2) = (1 + 2 + 0 + 2), where row 4 of A156348 = (1, 2, 0, 1) and (1, 1, 2, 2) = the first 4 terms of Euler's phi function. %p A156834 A156834 := proc(n) %p A156834 add(A156348(n,k)*numtheory[phi](k),k=1..n) ; %p A156834 end proc: # _R. J. Mathar_, Mar 03 2013 %t A156834 a[n_] := DivisorSum[n, EulerPhi[#] * Binomial[# + n/# - 2, #-1] &]; Array[a, 100] (* _Amiram Eldar_, Apr 22 2021 *) %o A156834 (PARI) a(n) = sumdiv(n, d, eulerphi(d)*binomial(d+n/d-2, d-1)); \\ _Seiichi Manyama_, Apr 22 2021 %o A156834 (PARI) my(N=66, x='x+O('x^N)); Vec(sum(k=1, N, eulerphi(k)*(x/(1-x^k))^k)) \\ _Seiichi Manyama_, Apr 22 2021 %Y A156834 Cf. A156348, A000010, A156833, A157020, A343553. %Y A156834 Equals row sums of triangle A157030. [_Gary W. Adamson_, Feb 21 2009] %K A156834 nonn,easy %O A156834 1,2 %A A156834 _Gary W. Adamson_, Feb 16 2009 %E A156834 Extended beyond a(14) by _R. J. Mathar_, Mar 03 2013