A307446 First coordinate of a contiguous path on the odd-numbered points of a square lattice leading to a distance-limited bijection with the even-numbered points of a square lattice rotated by Pi/6 around the common point (0,0). A307447 gives the second coordinate.
1, 3, 3, 3, 5, 7, 7, 9, 11, 11, 11, 13, 13, 13, 11, 9, 9, 9, 11, 11, 11, 13, 15, 15, 17, 19, 19, 19, 21, 23, 23, 25, 27, 27, 27, 25, 25, 25, 27, 29, 29, 31, 33, 33, 33, 35, 37, 37, 39, 41, 41, 41, 43, 43, 43, 41, 39, 39, 39, 41, 41, 41, 43, 45, 45, 47, 49, 49
Offset: 1
Keywords
Links
- Hugo Pfoertner, Table of n, a(n) for n = 1..10000
- Klaus Nagel, Mapping of 2 grids with distance limit sqrt(1/2), 4 symmetric paths starting in lower left corner (2009).
- Hugo Pfoertner, Construction of A307446 and A307447.
- Hugo Pfoertner, Paths in lattices G and H superimposed.
- Hugo Pfoertner, A307447 vs A307446, n = 1...1562.
- Hugo Pfoertner, A307447 vs A307446, n = 1...50000. Zoom in to see details.
- Index entries for sequences related to coordinates of 2D curves
Crossrefs
Programs
-
PARI
continuation(ii,jj,iprev,jprev)= {my(i,j,ix,iy,x,y,d,C=sqrt(3)/2,S=1/2, id=[1,0,-1,0],jd=[0,1,0,-1],v=[0,0],dmin=oo); for(nd=1,4,i=ii+id[nd];j=jj+jd[nd]; if(i!=iprev||j!=jprev, x=C*i+S*j;ix=round(x);if(ix%2!=0,if(ix>x,ix--,ix++)); y=C*j-S*i;iy=round(y);if(iy%2!=0,if(iy>y,iy--,iy++)); x=C*ix-S*iy;y=C*iy+S*ix; if((i+id[nd]-x)^2+(j+jd[nd]-y)^2<2&&(x-ii)^2+(y-jj)^2<2,d=(i-x)^2+(j-y)^2; if(d
A307447 for(k=1,68,print1(ii,", ");w=continuation(ii,jj,iprev,jprev);iprev=w[1];jprev=w[2];ii+=2*(w[1]-ii);jj+=2*(w[2]-jj))
Comments