Where are the powers of two?
The following construction gives an interesting pairing map between the positive integers and the lattice of integer-valued points in the plane:
- Place at the origin.
- For each level populate the points of the plane on the square with vertices starting from at the position and going counter-clockwise.
After pairing enough positive integers on the lattice, pay attention to the powers of two: they all seem to be located on the same two horizontal lines: and
Is this statement true?
Note for example, the sequence of numbers on the axes:
- On the negative branch of the —axis we have the sequence For subtracting two units to these numbers will give us the values on the negative branch of the line
Note the expression of these values: . Assume there is a power of two that belongs to this sequence, say for some If this is the case, a simple solution of the quadratic equation gives:
In particular, one of those two solutions is always a positive integer, provided the exponent is odd:
This proves that any power of two (greater than 4) with odd exponent does indeed belong in the line .
How would the reader calculate its precise position in the lattice?
- On the positive branch of the —axis we have by construction, the sequence For adding two units to these numbers will give us the values on the positive branch of the line
And here is the challenge:
Is is true that all powers of two (greater than 4) with even exponent belong to the sequence with general term ?
If it is not the case:
Is there a well-defined geometric structure (a set of lines, a parabola, etc) where all these powers of two belong?
The reader has surely realized that all even numbers are located in the even horizontal lines: lines of the form for any value of If it is not the case that all powers of two greater than 4 belong in the line alone, then an answer to the previous question is obviously the set of even lines. But we want to do better than that:
What is the minimal structure that contains them all?
Miscellaneous
Find below a code to represent arbitrarily large of paired integers on the grid following this scheme. It uses the tikz libraries:
\def\mypf#1{ % Compute the maximum width of the box that contains all values from 0 % to #1 \pgfmathparse{floor(0.5*(sqrt(2*#1-3)-1))} \let\width\pgfmathresult % Generate a grid big enough to hold all values \draw (-1*\width cm - 1.75cm, -1*\width cm - 1.75cm) grid[step=1cm, ultra thin, gray] (\width cm + 1.75cm, \width cm + 1.75cm); % Place all integers in the lattice \filldraw (0,0) circle (2pt) node[below right]{$1$}; \foreach \n in {0,..., \width} { \foreach \k in {0,..., \n} { \pgfmathparse{\n+1-\k} \let\xa\pgfmathresult \let\yb\pgfmathresult \pgfmathparse{\k} \let\ya\pgfmathresult \let\xd\pgfmathresult \pgfmathparse{-1*\k} \let\xb\pgfmathresult \let\yc\pgfmathresult \pgfmathparse{\k-\n-1} \let\xc\pgfmathresult \let\yd\pgfmathresult \pgfmathparse{int(2*(\n^2+\n+1)+\k)} \let\za\pgfmathresult \pgfmathparse{int(2*(\n^2+\n+1)+\n+1+\k)} \let\zb\pgfmathresult \pgfmathparse{int(2*(\n^2+\n+1)+2*\n+2+\k)} \let\zc\pgfmathresult \pgfmathparse{int(2*(\n^2+\n+1)+3*\n+3+\k)} \let\zd\pgfmathresult \filldraw(\xa cm,\ya cm) circle (2pt) node[below right]{$\za$}; \filldraw(\xb cm,\yb cm) circle (2pt) node[below right]{$\zb$}; \filldraw(\xc cm,\yc cm) circle (2pt) node[below right]{$\zc$}; \filldraw(\xd cm,\yd cm) circle (2pt) node[below right]{$\zd$}; } } }
256 and 1024 do not “reside” on
I doubt there is a finite degree polynomial curve “covering” all powers of two.
Proving that no finite collection of lines “covers” all powers of two involves (or is equivalent) to showing that one cannot “approximate” the odd powers of 2 by perfect squares, within a given range (i.e. there should not exist an with the property that, for all there should exist a such that
Interesting…
I see what you are trying. Also equivalently, if there is a horizontal line where an even-power of two belongs, then the quantity must be a perfect square—as a matter of fact, an odd perfect square.
In that case, every odd-power of two can be written as an odd perfect square (congruent with one modulo 4) plus an odd positive integer (congruent with 3 modulo 4).
Fun…