The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A348653 For any nonnegative number n with base-13 expansion Sum_{k >= 0} d_k*13^k, a(n) is the imaginary part of Sum_{k >= 0} g(d_k)*(3+2*i)^k where g(0) = 0, and g(1+u+3*v) = (1+u*i)*i^v for any u = 0..2 and v = 0..3 (where i denotes the imaginary unit); see A348652 for the real part. 3
0, 0, 1, 2, 1, 1, 1, 0, -1, -2, -1, -1, -1, 2, 2, 3, 4, 3, 3, 3, 2, 1, 0, 1, 1, 1, 5, 5, 6, 7, 6, 6, 6, 5, 4, 3, 4, 4, 4, 8, 8, 9, 10, 9, 9, 9, 8, 7, 6, 7, 7, 7, 3, 3, 4, 5, 4, 4, 4, 3, 2, 1, 2, 2, 2, 1, 1, 2, 3, 2, 2, 2, 1, 0, -1, 0, 0, 0, -1, -1, 0, 1, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
The function f defines a bijection from the nonnegative integers to the Gaussian integers.
The following diagram depicts g(d) for d = 0..12:
|
| +
| 3
|
+ + + +
6 5 |4 2
|
--------+----+----+-------
7 |0 1
|
+ + + +
8 |10 11 12
|
+ |
9 |
LINKS
Stephen K. Lucas, Base 2 + i with digit set {0, +/-1, +/-i}, ResearchGate (October 2021).
FORMULA
abs(a(13^k)) = A188982(k).
PROG
(PARI) g(d) = { if (d==0, 0, (1+I*((d-1)%3))*I^((d-1)\3)) }
a(n) = imag(subst(Pol([g(d)|d<-digits(n, 13)]), 'x, 3+2*I))
CROSSREFS
See A316658 for a similar sequence.
Sequence in context: A271606 A093718 A278839 * A278287 A227752 A316771
KEYWORD
sign,base
AUTHOR
Rémy Sigrist, Oct 27 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 8 00:48 EDT 2024. Contains 373206 sequences. (Running on oeis4.)