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!)
A004711 Positions of 1's in binary expansion of Pi/4. 4
1, 2, 5, 8, 13, 14, 15, 16, 17, 18, 20, 21, 23, 25, 27, 31, 35, 40, 42, 43, 45, 49, 50, 55, 59, 60, 62, 65, 66, 70, 73, 74, 78, 79, 82, 83, 87, 89, 93, 95, 96, 97, 105, 106, 108, 109, 110, 116, 117, 118, 121, 122, 124 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A256108(n) + 2. - Lorenzo Sauras Altuzarra, Jan 21 2020
MATHEMATICA
Flatten[Position[RealDigits[Pi/4, 2, 150][[1]], 1]] (* Harvey P. Dale, Jul 13 2015 *)
PROG
(PARI) default(realprecision, 100); select(x->(x==1), binary(Pi/4)[2], 1) \\ Michel Marcus, Oct 11 2018
CROSSREFS
Sequence in context: A045746 A053614 A354007 * A291922 A000789 A178752
KEYWORD
nonn,base
AUTHOR
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 07:42 EDT 2024. Contains 371905 sequences. (Running on oeis4.)