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 A123609 #14 Mar 02 2022 12:39:04 %S A123609 4,1,2,3,4,4,3,4,2,3,4,1,2,3,4,1,2,3,4,2,3,4,1,2,3,4,3,4,2,3,4,1,2,3, %T A123609 4,4,3,4,2,3,4,1,2,3,4 %N A123609 Quasiperiodic 9-gonal (nonagonal) sequence as a 1-dimensional tiling. %C A123609 The frequency of each distinct term (1, 2, 3, or 4) tends to converge to the ratio of each diagonal (a, b, c, or d) to the sum of the 4 diagonal lengths. The four 9-gon (nonagon) diagonals are a=1, b=1.87938524..., c=2.53208888... and d=2.87938524..., with the sum a+b+c+d = d^2 = 8.29085936.... Converting these terms to fractions of the sum, a=0.12061475..., b=0.22668159..., c=0.30540728..., and d=0.34729635.... Through n = 45, we can thus expect sixteen 4's (correct), since round(45*.34729635...) = 16. The numbers of terms in each subset strung together is found in A006357: (1, 4, 10, 30, 85...), thus: (4), (1,2,3,4), (4,3,4,2,3,4,1,2,3,4), ..., while the distributive breakdown of numbers of 1's, 2's, 3's, and 4's may be found in the 4-termed set of vectors in A076264: 1 1 1 1 4 3 2 1 10 9 7 4 30 26 19 10 ... where the sum of 4 terms in a row = the left term in the next row. For example, the frequency distribution of 30 includes ten 4's, nine 3's, seven 2's, and four 1's. Check: the subset of 30 terms generated from the previous subset of 10: (1,2,3,4,2,3,4,1,2,3,4,3,4,2,3,4,1,2,3,4,4,3,4,2,3,4,1,2,3,4). %C A123609 A fractal structure is suggested by parsing each subset into groups: (1,2,3,4), (2,3,4), (1,2,3,4), (3,4), (2,3,4), (1,2,3,4), (4), (3,4), (2,3,4), (1,2,3,4). That is, 10 groups: four with four terms, three with three terms, two with two terms, and one with one term. Replacing the terms (4,3,2,1) with the diagonal lengths (d,c,b,a) and referring to the set of vectors: (1,1,1,1; 4,3,2,1; 10,9,7,4; ...), label these rows 2,3,4,... and consider (2,3,4,...) exponents to diagonal d=2.87938524..., such that, for example, "4" corresponds to (10,9,7,4), and (Cf. Steinbach) d^4 = 68.738349... = (10*d + 9*c + 7*b + 4*a). Such relationships are a consequence of the "Diagonal Product Formulas" mentioned on p. 23. %H A123609 P. Steinbach, <a href="http://www.jstor.org/stable/2691048">Golden fields: a case for the heptagon</a>, Math. Mag. 70 (1997), no. 1, 22-31, p. 29. %F A123609 Using the seed "1", we use the recurrence rules 1=>4; 2=>3,4; 3=>2,3,4; 4=>1,2,3,4; to form iterative subsets which are appended in succession to form a continuous string. %e A123609 1=>4, then 4=>1,2,3,4, which, in turn, generates 4,3,4,2,3,4,1,2,3,4 (append next result to right of previous result, getting an infinite aperiodic sequence). %t A123609 Drop[SubstitutionSystem[{1->{4},2->{3,4},3->{2,3,4},4->{1,2,3,4}},{1},{5}][[1]],5] (* _Harvey P. Dale_, Mar 02 2022 *) %Y A123609 Cf. A123508, A006357, A076264, A091024. %K A123609 nonn,uned,obsc %O A123609 1,1 %A A123609 _Gary W. Adamson_ and _Roger L. Bagula_, Oct 03 2006 %E A123609 Partially edited by _Jon E. Schoenfield_, Sep 15 2013