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 A099957 #36 Aug 06 2024 07:24:08 %S A099957 1,3,7,13,19,29,41,49,65,83,95,117,137,155,183,213,233,257,293,317, %T A099957 357,399,423,469,511,543,595,635,671,729,789,825,873,939,983,1053, %U A099957 1125,1165,1225,1303,1357,1439,1503,1559,1647,1719,1779,1851,1947 %N A099957 a(n) = Sum_{k=0..n-1} phi(2k+1). %C A099957 The n-th term is the number of notes of the (2n-1)-limit tonality diamond. This is a term from music theory and means the scale consisting of the rational numbers r, 1 <= r < 2, such that the odd part of both the numerator and the denominator of r, when reduced to lowest terms, is less than or equal to the fixed odd number 2n-1. - _Gene Ward Smith_, Mar 27 2006 %C A099957 (1/4)*Number of distinct angular positions under which an observer positioned at the center of a square of a square lattice can see the (2n) X (2n) points symmetrically surrounding his position. %C A099957 (1/8)*number of distinct angular positions under which an observer positioned at a lattice point of a square lattice can see the (2n+1)X(2n+1) points symmetrically surrounding his position gives A002088. %C A099957 (1/2)*number of distinct angular positions under which an observer positioned at the center of an edge of a square lattice can see the (2n)X(2n-1) points symmetrically surrounding his position gives A099958. %H A099957 Seiichi Manyama, <a href="/A099957/b099957.txt">Table of n, a(n) for n = 1..10000</a> %H A099957 Lv Chuan, <a href="https://citeseerx.ist.psu.edu/pdf/134f67dafd17bab61928c5a02e2e9808a27a1dad">On the Mean Value of an Arithmetical Function</a>, in Zhang Wenpeng (ed.), Research on Smarandache Problems in Number Theory (collected papers), 2004, pp. 89-92. %H A099957 Wikipedia, <a href="http://en.wikipedia.org/wiki/Tonality_diamond">Tonality diamond</a>. %F A099957 a(n+1) - a(n) = phi(2n+1) (A037225). %F A099957 a(n) = (8/Pi^2)*n^2 + O(n^(3/2+eps)) (Lemma 1 in Lv Chuan, 2004). - _Amiram Eldar_, Aug 02 2022, corrected by _M. F. Hasler_, Mar 26 2023 %F A099957 a(n) = A002088(2*n-1) - A049690(n-1). - _Chai Wah Wu_, Aug 04 2024 %t A099957 Accumulate[EulerPhi[2*Range[0,50]+1]] (* _Harvey P. Dale_, Aug 20 2021 *) %o A099957 (PARI) apply( {A099957(n)=sum(k=1,n, eulerphi(2*k-1))}, [1..55]) \\ _M. F. Hasler_, Apr 03 2023 %Y A099957 Bisection of A274401. %Y A099957 Partial sums of A037225. %Y A099957 Cf. A000010, A002088, A099958, A049687, A049690. %K A099957 nonn %O A099957 1,2 %A A099957 _Hugo Pfoertner_, Nov 13 2004