login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

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