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-4 of 4 results.

A257594 Consider the hexagonal lattice packing of circles; a(n) is the maximal number of circles that can be enclosed by a closed chain of n circles.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 1, 1, 2, 3, 4, 5, 7, 8, 10
Offset: 0

Views

Author

N. J. A. Sloane, May 18 2015

Keywords

Examples

			In the hexagonal lattice packing of pennies, one penny can be enclosed by 6 pennies, 2 pennies by eight pennies, 3 pennies by 9 pennies, 4 pennies by 10 pennies, 5 pennies by 11 pennies, and 7 pennies by 12 pennies.
		

Crossrefs

Cf. A257481.

Formula

Conjecture (derived from Euler's F+V=E+1 formula): a(n) = 1+(A069813(n)-n)/2 = A001399(n-6), which means g.f. is x^6 / ( (1+x)*(1+x+x^2)*(1-x)^3 ). - R. J. Mathar, Jul 14 2015

Extensions

a(13) and a(14) from R. J. Mathar, Jul 10 2015

A257481 Consider a hole-less cluster of n circles in the hexagonal lattice packing of circles; a(n) is the maximal number of circles that touch 6 circles.

Original entry on oeis.org

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

Views

Author

Peter Woodward, Apr 26 2015

Keywords

Examples

			For a(7), one circle can be completely enclosed by six surrounding circles, so a(7)=1, a(n)=0 for n<7.
For a(10), two circles can be completely enclosed by eight surrounding circles, so a(10)=2.
		

Crossrefs

Extensions

Edited by N. J. A. Sloane, May 18 2015

A353091 Irregular triangle read by rows: T(n, k) is the number of n-step closed walks on the hexagonal lattice having algebraic area k.

Original entry on oeis.org

1, 6, 0, 6, 66, 0, 12, 0, 150, 0, 30, 1020, 0, 420, 0, 84, 0, 6, 0, 3444, 0, 1302, 0, 252, 0, 42, 19890, 0, 11952, 0, 4284, 0, 984, 0, 216, 0, 24, 0, 82062, 0, 42972, 0, 14814, 0, 4248, 0, 990, 0, 216, 0, 18, 449976, 0, 327420, 0, 158970, 0, 57180, 0, 18780, 0, 5190, 0, 1350, 0, 270, 0, 30
Offset: 0

Views

Author

Andrey Zabolotskiy, Apr 22 2022

Keywords

Comments

Rows 0 and 2 have 1 element each; row 1 is empty; for n > 2, we have 0 <= k <= A069813(n).
Rows can be extended to negative k with T(n, -k) = T(n, k). Sums of such extended rows give A002898.

Examples

			The triangle begins:
[1]
[]
[6]
[0, 6]
[66, 0, 12]
[0, 150, 0, 30]
[1020, 0, 420, 0, 84, 0, 6]
[0, 3444, 0, 1302, 0, 252, 0, 42]
[19890, 0, 11952, 0, 4284, 0, 984, 0, 216, 0, 24]
[0, 82062, 0, 42972, 0, 14814, 0, 4248, 0, 990, 0, 216, 0, 18]
[449976, 0, 327420, 0, 158970, 0, 57180, 0, 18780, 0, 5190, 0, 1350, 0, 270, 0, 30]
...
		

Crossrefs

Cf. A069813 (greatest area), A002898 (all closed walks), A352838 (square lattice).
For n > 1, row n seems to end with A109047(n).

A327896 a(n) is the minimum number of tiles needed for constructing a polyiamond with n holes.

Original entry on oeis.org

9, 14, 19, 23, 27, 31, 35, 39, 43, 47, 51, 54, 58, 62, 65, 69, 73, 76, 80, 83, 87, 90, 94, 97, 101, 104, 108, 111, 115, 118, 122, 125, 129, 132, 135, 139, 142, 146, 149, 152, 156, 159, 163, 166, 169, 173, 176, 179, 183, 186, 189, 193, 196, 199, 203, 206, 209, 213
Offset: 1

Views

Author

Stefano Spezia, Sep 29 2019

Keywords

Comments

For n > 0, it is easy to prove that k(n) = floor((3 + sqrt(3*(3+8*n)))/6) is the unique integer that satisfies the inequalities 3*binomial(k,2) <= n <= 3*binomial(k+1,2) of Theorem 1.1 in Malen and Roldán.
Proof: solving in k the above inequalities for n > 0, one gets that x - 1 <= k <= x, where x = (3 + sqrt(3*(3+8*n)))/6. Since 3*(3+8*n) is never a perfect square, it follows that x is not an integer and k = floor(x). QED.

Crossrefs

Programs

  • Maple
    k:=n->floor((3+sqrt(3*(3+8*n)))/6): a:=n->3*(n+k(n))+1+ceil(2*n/k(n)): seq(a(n), n = 1 .. 58)
  • Mathematica
    k[n_]:=Floor[(3+Sqrt[3*(3+8n)])/6]; a[n_]:=3(n+k[n])+1+Ceiling[2n/k[n]]; Array[a,58]

Formula

a(n) = 3*(n + k(n)) + 1 + ceiling(2*n/k(n)), where k(n) = floor((3 + sqrt(3*(3+8*n)))/6).
Showing 1-4 of 4 results.