cp's OEIS Frontend

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.

A113689 Number of semiprimes in clumps of size > 1 through n^2 in the semiprime spiral.

This page as a plain text file.
%I A113689 #19 Feb 16 2025 08:32:59
%S A113689 0,0,2,6,9,13,17,21,23,31,37,45,54,59,72,77,83,93,104,116,125,140,150,
%T A113689 164,180,188,203,219,236,255,272,287,301,317,334,354,378,403,419,430,
%U A113689 450,475,498,521,542,560,588,608,626,652,677,698
%N A113689 Number of semiprimes in clumps of size > 1 through n^2 in the semiprime spiral.
%C A113689 Write the integers 1, 2, 3, 4, ... in a counterclockwise square spiral. Analogous to Ulam coloring in the primes in the spiral and discovering unexpectedly many connected diagonals, we construct a semiprime spiral by coloring in all semiprimes (A001358). Each integer has 8 adjacent integers in the spiral, horizontally, vertically and diagonally. Curious extended clumps coagulate, slightly denser towards the origin, of semiprimes connected by adjacency. This sequence, A113689, gives an enumeration of the number of semiprimes in clumps of size > 1 through n^2, not looking past the square boundary. A113688 gives isolated semiprimes in the semiprime spiral, namely those semiprimes none of whose adjacent integers in the spiral are semiprimes.
%D A113689 S. M. Ellerstein, The square spiral, J. Recreational Mathematics 29 (#3, 1998) 188; 30 (#4, 1999-2000), 246-250.
%H A113689 M. Stein and S. M. Ulam, <a href="http://www.jstor.org/stable/2314055">An Observation on the Distribution of Primes</a>, Amer. Math. Monthly 74, 43-44, 1967.
%H A113689 M. Stein, S. M. Ulam and M. B. Wells, <a href="http://www.jstor.org/stable/2312588">A Visual Display of Some Properties of the Distribution of Primes</a>, Amer. Math. Monthly 71, 516-520, 1964.
%H A113689 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/PrimeSpiral.html">Prime Spiral</a>.
%H A113689 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/Semiprime.html">Semiprime</a>
%e A113689 a(3) = 2 because there is one visible clump through 3^2 = 9, {4,6}, which two semiprimes are diagonally connected.
%e A113689 a(4) = 6 because there are 6 semiprimes in the 2 visible clumps through 4^2 = 16, {4, 6, 14, 15}, {9, 10}.
%e A113689 a(5) = 9 because there are 9 semiprimes in the 3 visible clumps through 5^2 = 25, {4, 6, 14, 15}, {9, 10, 25}, {21, 22}.
%e A113689 ......................
%e A113689 ... 17 16 15 14 13 ...
%e A113689 ... 18  5  4  3 12 ...
%e A113689 ... 19  6  1  2 11 ...
%e A113689 ... 20  7  8  9 10 ...
%e A113689 ... 21 22 23 24 25 ...
%e A113689 ......................
%Y A113689 Cf. A001107, A001358, A002939, A002943, A004526, A005620, A007742, A033951-A033954, A033988, A033989-A033991, A033996, A063826, A113688.
%K A113689 easy,nonn
%O A113689 1,3
%A A113689 _Jonathan Vos Post_, Nov 05 2005
%E A113689 Corrected and extended by _Alois P. Heinz_, Jan 02 2011