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.

A077591 Maximum number of regions into which the plane can be divided using n (concave) quadrilaterals.

Original entry on oeis.org

1, 2, 18, 50, 98, 162, 242, 338, 450, 578, 722, 882, 1058, 1250, 1458, 1682, 1922, 2178, 2450, 2738, 3042, 3362, 3698, 4050, 4418, 4802, 5202, 5618, 6050, 6498, 6962, 7442, 7938, 8450, 8978, 9522, 10082, 10658, 11250, 11858, 12482, 13122, 13778
Offset: 0

Views

Author

Joshua Zucker and the Castilleja School MathCounts club, Nov 07 2002

Keywords

Comments

Sequence found by reading the segment (1, 2) together with the line from 2, in the direction 2, 18, ..., in the square spiral whose vertices are the triangular numbers A000217. - Omar E. Pol, Sep 05 2011
For a(n) > 1, a(n) are the numbers such that phi(sum of the odd divisors of a(n)) = phi(sum of even divisors of a(n)). - Michel Lagneau, Sep 14 2011
Apart from first term, subsequence of A195605. - Bruno Berselli, Sep 21 2011
Engel expansion of 1F2(1; 1/2, 1/2; 1/8). - Benedict W. J. Irwin, Jun 21 2018
Let f(n) = 4*n^2 - 5, then (x, y, z) = (a(n+1), -f(n), -f(n + 1)) are solutions of the Diophantine equation x^3 + 4*y^3 + 4*z^3 = 512. - XU Pingya, Apr 25 2022

Examples

			a(2) = 18 if you draw two concave quadrilaterals such that all four sides of one cross all four sides of the other.
		

Crossrefs

Programs

  • GAP
    Concatenation([1], List([1..2000], n->8*n^2 - 8*n + 2)); # Muniru A Asiru, Jan 29 2018
  • Maple
    A077591:=n->`if`(n=0, 1, 8*n^2 - 8*n + 2); seq(A077591(n), n=0..50); # Wesley Ivan Hurt, Mar 12 2014
  • Mathematica
    Table[2*(4*n^2 - 4*n + 1), {n,0,50}] (* G. C. Greubel, Jul 15 2017 *)
  • PARI
    isok(n) = (sod = sumdiv(n, d, (d%2)*d)) && (sed = sumdiv(n, d, (1 - d%2)*d)) && (eulerphi(sod) == eulerphi(sed)); \\ from Michel Lagneau comment; Michel Marcus, Mar 15 2014
    

Formula

a(n) = 8*n^2 - 8*n + 2 = 2*(2*n-1)^2, n > 0, a(0)=1.
Proof from Keyang Li, Jun 18 2022: (Start)
Represent the configuration of n concave quadrilaterals by a planar graph with a node for each vertex of the quadrilaterals and for each intersection point. Let there be v_n nodes and e_n edges. By Euler's formula for planar graphs, a(n) = e_n - v_n + 2. When we go from n to n+1 quadrilaterals, each side of the new quadrilateral can meet each side of the existing quadrilaterals at most 4 times, so Dv_n := v_{n+1} - v_n <= 4*4n = 16n.
Each of these intersection points increases the number of edges in the graph by 2, so De_n := e_{n+1} - e_n = 4 + 2*Dv_n, Da_n := a(n+1) - a(n) = 4 + Dv_n <= 4+16*n.
These upper bounds can be achieved by taking n interwoven concave quadrilaterals (for n=1,2,3 see the attached Keyang Li links), and we achieve a(n) = 8n^2 - 8n + 2 (and v_n = 8n^2 - 4n, e_n = 4n*(4n-3)) for n > 0. QED (End)
For n > 0: A071974(a(n)) = 2*n+1, A071975(a(n)) = 2. - Reinhard Zumkeller, Jul 10 2011
a(n) = 1 + A069129(n), if n >= 1. - Omar E. Pol, Sep 05 2011
a(n) = 2*A016754(n-1), if n >= 1. - Omar E. Pol, Sep 05 2011
G.f.: (1 - x + 15*x^2 + x^3)/(1-x)^3. - Colin Barker, Feb 23 2012
E.g.f.: (8*x^2 + 2)*exp(x) - 1. - G. C. Greubel, Jul 15 2017
From Amiram Eldar, Jan 29 2021: (Start)
Sum_{n>=1} 1/a(n) = Pi^2/16.
Sum_{n>=1} (-1)^(n+1)/a(n) = G/2, where G is Catalan constant (A006752).
Product_{n>=1} (1 + 1/a(n)) = cosh(Pi/sqrt(8)).
Product_{n>=1} (1 - 1/a(n)) = cos(Pi/sqrt(8)). (End)