login
Positions of ones in binary expansion of 1/sqrt(2).
4

%I #9 Jan 22 2024 16:16:10

%S 1,3,4,6,8,14,17,18,19,20,23,24,27,28,31,32,33,34,35,36,37,40,41,42,

%T 44,45,46,47,50,51,54,57,62,66,68,69,72,74,75,76,77,78,80,81,85,88,89,

%U 91,92,95,96,98,99,100,102,104

%N Positions of ones in binary expansion of 1/sqrt(2).

%H T. D. Noe, <a href="/A004713/b004713.txt">Table of n, a(n) for n=1..1000</a>

%t Position[RealDigits[1/Sqrt[2],2,200][[1]],1]//Flatten (* _Harvey P. Dale_, Jan 22 2024 *)

%K nonn

%O 1,2

%A _Simon Plouffe_