|
|
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
|
|
|
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
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|