login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A345703
Expansion of Pi in signed binary nonadjacent form.
2
1, 0, -1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, -1, 0, -1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0, -1, 0, 1, 0, 0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 0, 1, 0, -1, 0, 1, 0, 1, 0, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0, 1, 0, -1, 0, 1, 0
OFFSET
3
COMMENTS
The signed binary nonadjacent form is also called "canonical signed digit representation" or the result of a "canonical recoding" algorithm.
REFERENCES
I. Koren, Computer Arithmetic Algorithms, 2nd edition, page 146.
H. Prodinger, On binary representations of integers with digits -1, 0, 1 , INTEGERS 0 (2000).
EXAMPLE
10T.0010010001000000T0T010101000100010001...
CROSSREFS
Cf. A184615, A184616 (for the nonadjacent form), A004601 (binary expansion of Pi), A331313 (balanced ternary expansion of Pi).
Sequence in context: A351725 A243148 A089495 * A365807 A173857 A114482
KEYWORD
sign,easy,base
AUTHOR
Thomas König, Jun 24 2021
STATUS
approved