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.

Showing 1-5 of 5 results.

A047931 Number of new penny-penny contacts when putting pennies on a table following a spiral pattern.

Original entry on oeis.org

0, 1, 2, 2, 2, 2, 3, 2, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 3, 2, 3, 2, 3, 3, 2, 3, 3, 2, 3, 3, 2, 3, 3, 2, 3, 3, 3, 2, 3, 3, 2, 3, 3, 3, 2, 3, 3, 3, 2, 3, 3, 3, 2, 3, 3, 3, 2, 3, 3, 3, 3, 2, 3, 3, 3, 2, 3, 3, 3, 3, 2, 3, 3, 3, 3, 2, 3, 3, 3, 3, 2, 3, 3, 3, 3, 2, 3, 3, 3, 3, 3
Offset: 1

Views

Author

Keywords

Examples

			From _Omar E. Pol_, Nov 16 2016: (Start)
The sequence written as a spiral begins:
.
.                2 - 3 - 3 - 3 - 3 - 2
.               /                     \
.              3   2 - 3 - 3 - 3 - 2   3
.             /   /                 \   \
.            3   3   2 - 3 - 3 - 2   3   3
.           /   /   /             \   \   \
.          3   3   3   2 - 3 - 2   3   3   3
.         /   /   /   /         \   \   \   \
.        3   3   3   3   2 - 2   3   3   3   3
.       /   /   /   /   /     \   \   \   \   \
.      2   2   2   2   2   0 - 1   2   2   2   2
.       \   \   \   \   \         /   /   /   /
.        3   3   3   3   2 - 3 - 2   3   3   3
.         \   \   \   \             /   /   /
.          3   3   3   2 - 3 - 3 - 2   3   3
.           \   \   \                 /   /
.            3   3   2 - 3 - 3 - 3 - 2   3
.             \   \                     /
.              3   2 - 3 - 3 - 3 - 3 - 2
.               \
.                2 - 3 - 3 - 3 - 3 - 3
(End)
		

Crossrefs

Cf. A047932.

Formula

The n-th "chunk" consists of 2 3{n-2} 2 3{n-1} 2 3{n-1} 2 3{n-1} 2 3{n-1} 2 3{n}, where a{b} symbolizes b repetitions of a.

A186705 The Erdős unit distance problem: the maximum number of occurrences of the same distance among n points in the plane.

Original entry on oeis.org

0, 1, 3, 5, 7, 9, 12, 14, 18, 20, 23, 27, 30, 33, 37, 41, 43, 46, 50, 54, 57
Offset: 1

Views

Author

Michael Somos, Feb 25 2011

Keywords

Comments

An upper bound is floor(k*n^(4/3)), A129011, if k is close enough to 1. Also a(27)=81 (Hamming 3,3 graph). - Ed Pegg Jr, Feb 02 2018

Examples

			a(4) = 5 because there is a unit distance graph with 4 vertices of an equilateral rhombus such that all but one of the six pairs of vertices are unit distance apart.
Comment from _Allan C. Wechsler_, Sep 17 2018: (Start)
Construction for a(9)=18: Take a convex, equilateral hexagon ABCDEF. Make the angles vary a bit, though, to avoid the hexagon being regular. Now, on each of the six sides, construct an equilateral triangle pointing into the hexagon. In general, the triangles will overlap here and there; this is OK because we aren't going to care about edges crossing each other. So we have triangles ABU, BCV, CDW, DEX, EFY, and FAZ: a total of twelve points with 18 unit distances among them.
Now adjust the hexagon to make some pairs of the internal points coincide. We want to make U=X, V=Y, and W=Z. The resulting linkage still has one degree of freedom, so we can arrange it so that none of the edges coincide (they can and must cross, though). The adjusted hexagon will only have two different angles: ABC = CDE = EFA, and BCD = DEF = FAB. The whole thing will have triangular (D_6) symmetry. It will have nine vertices (after merging three pairs from the original 12) but it will still have 18 unit edges. (End)
		

References

  • P. Brass, W. O. J. Moser, J. Pach, Research Problems in Discrete Geometry, Springer (2005), p. 183

Crossrefs

Cf. A385657 (number of nonisomorphic maximally dense unit-distance graphs).

Extensions

Extended to a(21) using values from Version 2 of the Alexeev et al. arXiv manuscript. - N. J. A. Sloane, Jun 24 2025

A293956 Maximum over all sets of n points in the plane of the number of second-smallest distances between the points.

Original entry on oeis.org

0, 0, 2, 4, 6, 9, 11, 14, 18, 20
Offset: 1

Views

Author

N. J. A. Sloane, Nov 01 2017

Keywords

Crossrefs

A272573 Start a spiral of numbers on a hexagonal tiling, with the initial hexagon as a(1) = 1. a(n) is the smallest positive integer not equal to or previously adjacent to its neighbors.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 4, 6, 8, 5, 9, 8, 10, 2, 11, 3, 10, 11, 12, 13, 9, 12, 7, 13, 14, 1, 11, 13, 15, 9, 16, 14, 7, 16, 17, 15, 1, 16, 18, 7, 17, 19, 20, 1, 17, 18, 19, 9, 21, 3, 20, 10, 22, 4, 15, 21, 23, 5, 22, 23, 10, 21, 6, 22, 24, 25, 2, 14, 22, 25, 26, 3
Offset: 1

Views

Author

Peter Kagey, May 03 2016

Keywords

Comments

This is the hexagonal analog to A260643.

Examples

			Illustration of a(1) through a(8) and a(13):
    |     |     |      |       |       |       |        |     | 8 9 5
    |     |  3  | 4 3  |  4 3  |  4 3  |  4 3  |  4 3   |     |  4 3 8
  1 | 1 2 | 1 2 |  1 2 | 5 1 2 | 5 1 2 | 5 1 2 | 5 1 2  | ... | 5 1 2 6
    |     |     |      |       |  6    |  6 7  |  6 7 4 |     |  6 7 4
		

Crossrefs

A263135 The maximum number of penny-to-penny connections when n pennies are placed on the vertices of a hexagonal tiling.

Original entry on oeis.org

0, 0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 12, 13, 15, 16, 17, 19, 20, 21, 23, 24, 25, 27, 28, 30, 31, 32, 34, 35, 36, 38, 39, 41, 42, 43, 45, 46, 48, 49, 50, 52, 53, 55, 56, 57, 59, 60, 62, 63, 64, 66, 67, 69, 70, 72, 73, 74, 76, 77, 79, 80, 81, 83, 84, 86, 87, 89, 90
Offset: 0

Views

Author

Peter Kagey, Oct 10 2015

Keywords

Comments

a(A033581(n)) = A152743(n).
1 <= a(n+1) - a(n) <=2 for all n > 0.
Lim_{n -> infinity} a(n)/n = 3/2.
Conjecture: a(2*n) - A047932(n) = A216256(n) for n > 0.

Examples

			.           |            |     o o     .
.           |      o o   |  o o   o o  .
.    o o    |   o o   o  | o   o o   o .
.   o   o   |  o   o o   |  o o   o o  .
.    o o    |   o o      | o   o o   o .
.           |            |  o o   o o  .
.           |            |     o o     .
.           |            |             .
. f(6) = 6  | f(10) = 11 | f(24) = 30  .
		

Crossrefs

Cf. A047932 (triangular tiling), A123663 (square tiling).
Showing 1-5 of 5 results.