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!)
A346218 Expansion of 1/Pi in signed binary nonadjacent form. 2
0, 0, 1, 0, 1, 0, 0, 1, 0, -1, 0, 0, 0, 0, -1, 0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, 1, 0, 1, 0, 0, -1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, -1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
COMMENTS
The signed binary nonadjacent form is also called "canonical signed digit representation" or the result of a "canonical recoding" algorithm.
It is used to multiply binary numbers by the minimum number of shifts and additions or subtractions.
Multiplication by 1/Pi or, more generally, by 2^k/Pi, can be used in argument reduction in the evaluation of trigonometric functions.
REFERENCES
I. Koren, Computer Arithmetic Algorithms, 2nd edition, page 146.
LINKS
H. Prodinger, On binary representations of integers with digits -1,0,1, Integers 0 (2000), #A08.
EXAMPLE
0.01010010T0000T010T000010...
CROSSREFS
Cf. A184615, A184616 (for the nonadjacent form), A049541 (1/Pi in decimal), A345703 (Pi in signed binary nonadjacent form), A127266 (1/Pi in binary).
Sequence in context: A287931 A289074 A289242 * A188037 A144598 A144606
KEYWORD
sign,easy,base
AUTHOR
Thomas König, Jul 11 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 April 23 12:44 EDT 2024. Contains 371913 sequences. (Running on oeis4.)