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 A332250 #15 Feb 12 2020 16:18:15 %S A332250 0,0,1,1,0,0,1,1,2,2,3,3,4,4,3,3,2,2,1,1,0,0,1,1,0,0,1,1,2,2,3,3,2,2, %T A332250 3,3,4,4,5,5,6,6,7,7,6,6,7,7,8,8,9,9,10,10,9,9,10,10,11,11,12,12,13, %U A332250 13,12,12,11,11,10,10,9,9,10,10,9,9,8,8,7,7,6 %N A332250 a(n) is the Y-coordinate of the n-th point of the quadratic Koch curve. Sequence A332249 gives X-coordinates. %C A332250 This sequence is the imaginary part of {f(n)} defined as: %C A332250 - f(0) = 0, %C A332250 - f(n+1) = f(n) + i^t(n) %C A332250 where t(n) is the number of 1's minus the number of 3's %C A332250 in the base 5 representation of n %C A332250 and i denotes the imaginary unit. %H A332250 Rémy Sigrist, <a href="/A332250/b332250.txt">Table of n, a(n) for n = 0..15625</a> %H A332250 <a href="/index/Con#coordinates_2D_curves">Index entries for sequences related to coordinates of 2D curves</a> %F A332250 a(5^k-m) = a(m) for any k >= 0 and m = 0..5^k. %o A332250 (PARI) { k = [0, 1, 0, -1, 0]; z=0; for (n=0, 80, print1 (imag(z) ", "); z += I^vecsum(apply(d -> k[1+d], digits(n, #k)))) } %Y A332250 Cf. A332249 (X-coordinates and additional comments). %K A332250 nonn,base %O A332250 0,9 %A A332250 _Rémy Sigrist_, Feb 08 2020