|
|
A293762
|
|
Numbers k such that (d(k), d(k+1)) = (0,1) in the base-2 digits d(i) of sqrt(2).
|
|
4
|
|
|
2, 5, 7, 13, 16, 22, 26, 30, 39, 43, 49, 53, 56, 61, 65, 67, 71, 73, 79, 84, 87, 90, 94, 97, 101, 103, 105, 108, 110, 112, 114, 120, 123, 131, 135, 137, 140, 145, 152, 154, 158, 160, 164, 167, 170, 174, 178, 180, 185, 188, 192, 196, 199, 203, 205, 210, 212
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
(d(i)) = (1,0,1,1,0,1,0,1,0,0,0,0,0,1,...) = A004539, in which (0,1) first occurs as (a(2),a(3)).
|
|
MATHEMATICA
|
z = 100; s = StringJoin[Map[ToString, First[RealDigits[N[Sqrt[2], 10000], 2]]]];
Take[Map[#[[1]]&, StringPosition[s, "00"]], z] (*A293761*)
Take[Map[#[[1]]&, StringPosition[s, "01"]], z] (*A293762*)
Take[Map[#[[1]]&, StringPosition[s, "10"]], z] (*A293763*)
Take[Map[#[[1]]&, StringPosition[s, "11"]], z] (*A293764*)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|