OFFSET
0,9
COMMENTS
For any Eisenstein integer z = u + v*w (where u and v are integers), we call u the "real" part of z and v the "w" part of z.
The function f defines a bijection from the nonnegative integers to the Eisenstein integers.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..16383
Rémy Sigrist, Colored representation of f(n) for n = 0..4^10-1 in a hexagonal lattice (where the hue is function of n)
Rémy Sigrist, PARI program for A348911
Gary Teachout, Fractal Space Filling Curves 2002
Wikipedia, Eisenstein integer
FORMULA
a(2^(k+1)) = A077966(k) for any k >= 0.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
sign,base
AUTHOR
Rémy Sigrist, Nov 03 2021
STATUS
approved