A367147 Index of matching grid point in the bijection between two infinite triangular grids with one grid rotated by Pi/6 around the common point (0,0), using an enumeration of the grid points by A307014 and A307016.
0, 1, 2, 3, 4, 5, 6, 12, 14, 15, 9, 17, 18, 29, 7, 8, 23, 10, 11, 30, 13, 20, 21, 22, 33, 24, 16, 26, 27, 28, 36, 42, 19, 38, 39, 25, 41, 31, 32, 57, 34, 35, 60, 54, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 72, 37, 63, 66, 40, 69, 55, 73, 74, 56, 76, 77, 58, 79, 80, 59
Offset: 0
Keywords
Examples
n A307014(n) Bijection partner | | A307016(n) in rotated grid | | | rotated by Pi/6 | | | x y i j a(n) u v Distance([x,y],[u,v]) 0 0 0 0.0 0.0 0 0 0 0.0 0.0 0.0 1 1 0 1.0 0.0 1 0 1 0.866 0.5 0.51764 2 0 1 0.5 0.866 0 1 2 0.0 1.0 0.51764 3 -1 1 -0.5 0.866 -1 1 3 -0.866 0.5 0.51764 4 -1 0 -1.0 0.0 -1 0 4 -0.866 -0.5 0.51764 5 0 -1 -0.5 -0.866 0 -1 5 0.0 -1.0 0.51764 6 1 -1 0.5 -0.866 1 -1 6 0.866 -0.5 0.51764 7 1 1 1.5 0.866 2 -1 12 1.732 0.0 0.89658 8 -1 2 0.0 1.732 0 2 14 0.0 2.0 0.26795 9 -2 1 -1.5 0.866 -2 2 15 -1.732 1.0 0.26795 10 -1 -1 -1.5 -0.866 -2 1 9 -1.732 0.0 0.89658 11 1 -2 0.0 -1.732 0 -2 17 0.0 -2.0 0.26795 12 2 -1 1.5 -0.866 2 -2 18 1.732 -1.0 0.26795 13 2 0 2.0 0.0 3 -2 29 2.598 -0.5 0.77955 14 0 2 1.0 1.732 1 1 7 0.866 1.5 0.26795 15 -2 2 -1.0 1.732 -1 2 8 -0.866 1.5 0.26795
Links
- Klaus Nagel, Stripes and tiles used for mapping.
- Hugo Pfoertner, Numbering of points in red and blue grid.
- Hugo Pfoertner, Notes on the minimum achievable bijection distance, Nov 2023.
- Hugo Pfoertner, PARI program.
- Wikipedia, Hopcroft-Karp algorithm
Programs
-
PARI
\\ See linked file; function call to output data: a367147(70)
Comments