login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

T. D. Noe, Table of n, a(n) for n = 1..1000

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

Cf. A003881, A004601, A256108.

Sequence in context: A305440 A045746 A053614 * A291922 A000789 A178752

Adjacent sequences:  A004708 A004709 A004710 * A004712 A004713 A004714

KEYWORD

nonn,base

AUTHOR

Simon Plouffe

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 19 13:31 EDT 2021. Contains 347563 sequences. (Running on oeis4.)